PureDizzi
PureDizzi
NNuxt
Created by PureDizzi on 6/12/2024 in #❓・help
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?
1 replies