Skip to content

Commit

Permalink
fix: correct import path for <SanityContent> helper
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Aug 10, 2020
1 parent 4d28cd0 commit 2aa00c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/content/en/helpers/images.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ You may wish to import `SanityImage` only in the components that need it, if you
</template>
<script>
import { SanityImage } from '@nuxtjs/sanity/sanity-image'
import { SanityImage } from '@nuxtjs/sanity/dist/sanity-image'
export default {
components: { SanityImage },
Expand Down
2 changes: 1 addition & 1 deletion docs/content/en/helpers/portable-text.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ You may wish to import `SanityContent` only in the components that need it if yo
</template>
<script>
import { SanityContent } from '@nuxtjs/sanity/sanity-content'
import { SanityContent } from '@nuxtjs/sanity/dist/sanity-content'
export default {
components: { SanityContent },
Expand Down
2 changes: 1 addition & 1 deletion templates/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Vue from 'vue'
<% } %>

<% if (options.components.contentHelper) { %>
import { SanityContent } from '@nuxtjs/sanity/sanity-content'
import { SanityContent } from '@nuxtjs/sanity/dist/sanity-content'
Vue.component('SanityContent', SanityContent)
<% } %>

Expand Down

0 comments on commit 2aa00c4

Please sign in to comment.