storyblok-nuxt icon indicating copy to clipboard operation
storyblok-nuxt copied to clipboard

Fix/nuxt global components

Open alvarosabu opened this issue 2 years ago • 2 comments

Hey there, this PR fixes two issues currently present on the module:

  • Fixes #67 Could not resolve "#app" (mark it as external to exclude it from the bundle)
  • Fixes ` issue with latest version of nuxt3 https://github.com/nuxt/framework/issues/3320 (see here https://github.com/nuxt/framework/discussions/2883)

alvarosabu avatar Feb 18 '22 17:02 alvarosabu

@alvarosabu thanks a lot for this amazing PR 😉 It perfectly solves the new Nuxt 3 changes and the issue about the #app. I see that tests might need some changes, can you check it out? Then we can merge

alexjoverm avatar Feb 21 '22 08:02 alexjoverm

@alexjoverm I removed the second call to API that was retrieving the content of a specific story to make the tests work. But you might want to reconsider how the fixture interceptions is working.

alvarosabu avatar Feb 21 '22 18:02 alvarosabu