How can I use defineModel in modules?
I am writing a module that supplies a number of components to help with input and output.
I want to simplify the implementation by using
I can avoid the error by specifying
But substituting a
Where should I refer to change the vite option when compiling a module?
I want to simplify the implementation by using
defineModel, but it doesn't work as expected.I can avoid the error by specifying
nuxt.options.vite.vue.script['defineModel'] = true in the module's setup().But substituting a
.value does not change the valueWhere should I refer to change the vite option when compiling a module?
