mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-25 16:51:52 +08:00
19 lines
390 B
TypeScript
19 lines
390 B
TypeScript
export const styleImportPlugin = {
|
|
libs: [
|
|
{
|
|
libraryName: 'element-plus',
|
|
esModule: true,
|
|
resolveStyle: (name) => {
|
|
return `element-plus/es/components/${name.substring(3)}/style/css`
|
|
}
|
|
},
|
|
{
|
|
libraryName: 'vxe-table',
|
|
esModule: true,
|
|
resolveStyle: (name) => {
|
|
return `vxe-table/es/${name}/style.css`
|
|
}
|
|
}
|
|
]
|
|
}
|