N
Nuxt6mo ago
PureDizzi

Nuxt Layer - Module working differently in production

The VeeValidate in my local layer behaves incorrectly in production. When the app uses useForm(), it cannot detect the useField() in components that are in the layer. It's as though the layer and app are seperate and have their own instances of VeeValidate. Please view the example project and compare the examples in both modes: pnpm run dev and pnpm run preview. https://stackblitz.com/edit/nuxt-starter-oe53tx?file=app%2Fpages%2Findex.vue Am I using layers incorrectly, or what could be the issue here?
Marcus Nardizzi
StackBlitz
Nuxt Layer - VeeValidate Issue - StackBlitz
Create a new Nuxt project, module, layer or start from a theme with our collection of starters.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server