diff --git a/src/module.ts b/src/module.ts index 0ce3398..c0ac163 100644 --- a/src/module.ts +++ b/src/module.ts @@ -50,7 +50,7 @@ export default defineNuxtModule({ // Runtime dir boilerplate const resolver = createResolver(import.meta.url) - nuxt.options.build.transpile.push(resolver.resolve('runtime'), '@prismicio/vue') + nuxt.options.build.transpile.push(resolver.resolve('runtime'), '@nuxtjs/prismic', '@prismicio/vue') // Add runtime user code const proxyUserFileWithUndefinedFallback = (filename: string, path?: string, extensions = ['js', 'mjs', 'ts']) => { diff --git a/src/runtime/preview.vue b/src/runtime/preview.vue index 8d539f5..be7925f 100644 --- a/src/runtime/preview.vue +++ b/src/runtime/preview.vue @@ -12,6 +12,8 @@