Context conflict error in Nuxt 3 with @sidebase/nuxt-auth and Histoire Vue #651
Unanswered
ElizeoRocha
asked this question in
Q&A
Replies: 2 comments 2 replies
-
I disable nuxt-auth module when running Histoire. isEnabled: !process.env.HISTOIRE, It's not ideal, and with that you get warning of missing imports, but at least I can do component testing |
Beta Was this translation helpful? Give feedback.
2 replies
-
Here the step to find solution: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently working on a Nuxt 3 project with Vue 3 and have integrated the @sidebase/nuxt-auth module along with Histoire Vue. However, when running yarn story:dev, I encounter the following error:
Configuration Files:
Here are the relevant parts of my nuxt.config.ts:
And my histoire.config.ts:
This issue seems to be related to the @sidebase/nuxt-auth module. Interestingly, removing this module resolves the conflict, allowing Histoire Vue to work as expected. I've scoured online resources but couldn't find a similar case, prompting me to seek assistance here.
Has anyone faced a similar context conflict when using @sidebase/nuxt-auth and Histoire Vue in a Nuxt 3 project? Any insights or suggestions on resolving this issue would be highly appreciated.
Thank you for your assistance!
Beta Was this translation helpful? Give feedback.
All reactions