[nuxt] [short-vmodel] [QUESTION] Can't find short-vmodel in Nuxt configuration macros options #450
-
Of course, as always, I try to debug myself, installed
import vue from '@vitejs/plugin-vue'
import { transformShortVmodel } from '@vue-macros/short-vmodel'
export default defineNuxtConfig({
vite: {
plugins: [
vue({
template: {
compilerOptions: {
nodeTransforms: [
transformShortVmodel({
prefix: '$',
}),
],
},
},
}),
]
}
}) And got errors. EnvironmentNode: 18.16.1 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Fixed via 322321b |
Beta Was this translation helpful? Give feedback.
-
QuestionI read somewhere (can't remember where), that short-vmodel works in JSX thanks to someone's contribution. Thanks for the lighting fast work on the setupSFC in layouts and short-vmodel visibility in nuxt config macro options. |
Beta Was this translation helpful? Give feedback.
Fixed via 322321b