MeterSphere/frontend/config/plugin/arcoStyleImport.ts

16 lines
457 B
TypeScript
Raw Normal View History

2023-05-24 11:08:08 +08:00
/**
* Theme import
*
* https://github.com/arco-design/arco-plugins/blob/main/packages/plugin-vite-vue/README.md
* https://arco.design/vue/docs/start
*/
import { vitePluginForArco } from '@arco-plugins/vite-vue';
export default function configArcoStyleImportPlugin() {
// 按需加载主题样式
const arcoResolverPlugin = vitePluginForArco({
2023-05-24 19:15:27 +08:00
theme: '@arco-themes/vue-ms-theme-default',
2023-05-24 11:08:08 +08:00
});
return arcoResolverPlugin;
}