refactor: switch nuxt module of vue macros (#27)

This commit is contained in:
三咲智子 Kevin Deng 2022-11-23 16:07:28 +08:00 committed by GitHub
parent 47914d59b6
commit c42fe49ce9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 64 additions and 47 deletions

View file

@ -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: {