12345678910111213141516 |
- import { createStyleImportPlugin } from 'vite-plugin-style-import';
- export default createStyleImportPlugin({
- libs: [
- {
- libraryName: '@arco-design/web-vue',
- esModule: true,
- resolveStyle: (name) => {
- // css
- // return `@arco-design/web-vue/es/${name}/style/css.js`;
- // less
- return `@arco-design/web-vue/es/${name}/style/index.js`;
- },
- },
- ],
- });
|