From 6c298f8b2a8a726c7a9a0e8f2a3343184a500019 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90=20Kevin=20Deng?= Date: Sun, 25 Aug 2024 14:27:38 +0800 Subject: [PATCH] chore: remove `defineModel` option since enabled by default --- vite.preview.config.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/vite.preview.config.ts b/vite.preview.config.ts index 4f4f8399..422ccbab 100644 --- a/vite.preview.config.ts +++ b/vite.preview.config.ts @@ -3,13 +3,7 @@ import vue from '@vitejs/plugin-vue' import replace from '@rollup/plugin-replace' export default defineConfig({ - plugins: [ - vue({ - script: { - defineModel: true, - }, - }), - ], + plugins: [vue()], resolve: { alias: { '@vue/compiler-dom': '@vue/compiler-dom/dist/compiler-dom.cjs.js',