提交 0b0a7cee 编写于 作者: V vben

Revert "Revert "feat: support setup name""

This reverts commit 99daecdb.
上级 99daecdb
......@@ -4,6 +4,7 @@ import vueJsx from '@vitejs/plugin-vue-jsx';
import legacy from '@vitejs/plugin-legacy';
import purgeIcons from 'vite-plugin-purge-icons';
import windiCSS from 'vite-plugin-windicss';
import vueSetupExtend from 'vite-plugin-vue-setup-extend';
import { configHtmlPlugin } from './html';
import { configPwaConfig } from './pwa';
import { configMockPlugin } from './mock';
......@@ -29,6 +30,8 @@ export function createVitePlugins(viteEnv: ViteEnv, isBuild: boolean) {
vue(),
// have to
vueJsx(),
// support name
vueSetupExtend(),
];
// vite-plugin-windicss
......
......@@ -29,7 +29,7 @@
"pm2": "^5.1.1",
"rimraf": "^3.0.2",
"ts-node": "^10.2.1",
"tsconfig-paths": "^3.10.1",
"tsconfig-paths": "^3.11.0",
"tsup": "^4.14.0",
"typescript": "^4.3.5"
}
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册