refactor: switch nuxt module of vue macros (#27)
This commit is contained in:
parent
47914d59b6
commit
c42fe49ce9
5 changed files with 64 additions and 47 deletions
|
@ -1,11 +1,10 @@
|
|||
import VueMacros from 'unplugin-vue-macros/vite'
|
||||
|
||||
export default defineNuxtConfig({
|
||||
ssr: false,
|
||||
modules: [
|
||||
'@vueuse/nuxt',
|
||||
'@unocss/nuxt',
|
||||
'@pinia/nuxt',
|
||||
'@vue-macros/nuxt',
|
||||
],
|
||||
experimental: {
|
||||
reactivityTransform: true,
|
||||
|
@ -26,11 +25,7 @@ export default defineNuxtConfig({
|
|||
build: {
|
||||
target: 'esnext',
|
||||
},
|
||||
plugins: [
|
||||
VueMacros({
|
||||
defineModel: true,
|
||||
}),
|
||||
],
|
||||
|
||||
},
|
||||
postcss: {
|
||||
plugins: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue