支持path参数

This commit is contained in:
暮光:城中城
2021-11-20 21:45:29 +08:00
parent ce84b4fee9
commit b432e9fa17
28 changed files with 2496 additions and 641 deletions

View File

@@ -13,22 +13,6 @@ export default defineConfig({
base: '',
plugins: [
vue(),
styleImport({
libs: [
// 使用element-plus的一些组件
{
libraryName: 'element-plus',
esModule: true,
ensureStyleFile: true,
resolveStyle: (name) => {
return `element-plus/lib/theme-chalk/${name}.css`;
},
resolveComponent: (name) => {
return `element-plus/lib/${name}`;
},
}
]
})
],
build: {
emptyOutDir: true,