vite-plugin-style-import
vite-plugin-style-import copied to clipboard
麻烦支持一下arco-design/web-vue
+1
this's file.
in vite.config.js
createStyleImportPlugin({
libs: [
{
libraryName: '@arco-design/web-vue',
esModule: true,
resolveStyle: (name) => {
const exclude = ['menu-item']
if (exclude.includes(name)) return ''
// css
return `@arco-design/web-vue/es/${name}/style/css.js`
},
},
],
}),
+1