update 优化 控制台debuger位置错误问题
update 优化 TopNav 菜单样式 fix 修复 布局配置失效问题
This commit is contained in:
@ -5,7 +5,7 @@ import createComponents from './components';
|
||||
import createIcons from './icons';
|
||||
import createSvgIconsPlugin from './svg-icon';
|
||||
import createCompression from './compression';
|
||||
import createVueSetupExtend from './vue-setup-extend';
|
||||
import createSetupExtend from './setup-extend';
|
||||
import path from 'path';
|
||||
|
||||
export default (viteEnv: any, isBuild = false): [] => {
|
||||
@ -17,6 +17,6 @@ export default (viteEnv: any, isBuild = false): [] => {
|
||||
vitePlusgins.push(createCompression(viteEnv));
|
||||
vitePlusgins.push(createIcons());
|
||||
vitePlusgins.push(createSvgIconsPlugin(path, isBuild));
|
||||
vitePlusgins.push(createVueSetupExtend());
|
||||
vitePlusgins.push(createSetupExtend());
|
||||
return vitePlusgins;
|
||||
};
|
||||
|
5
vite/plugins/setup-extend.ts
Normal file
5
vite/plugins/setup-extend.ts
Normal file
@ -0,0 +1,5 @@
|
||||
import setupExtend from 'unplugin-vue-setup-extend-plus/vite'
|
||||
|
||||
export default () => {
|
||||
return setupExtend({})
|
||||
};
|
@ -1,5 +0,0 @@
|
||||
import VueSetupExtend from 'vite-plugin-vue-setup-extend';
|
||||
|
||||
export default () => {
|
||||
return VueSetupExtend();
|
||||
};
|
Reference in New Issue
Block a user