We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用 https://arco.design/vue/docs/pro/start 快速创建 vue 版本 修改 config/plugin/arcoStyleImport.ts 文件
export default function configArcoStyleImportPlugin() { const arcoResolverPlugin = vitePluginForArco({ style: false, }); return arcoResolverPlugin; }
设置 style 为 false 的时候,按需导入组件,但不导入对应样式。
The text was updated successfully, but these errors were encountered:
https://github.com/arco-design/arco-plugins/blob/3a092eea4307b17cfdc2ab091906d6ab60a7f43e/packages/plugin-vite-vue/src/arco-design-plugin/transform.ts#L68
if (style === false || !/\.(js|jsx|ts|tsx|vue)$/.test(id)) { return undefined; }
这种判断方式是不是有问题?
Sorry, something went wrong.
No branches or pull requests
Basic Info
Extra info
使用 https://arco.design/vue/docs/pro/start 快速创建 vue 版本
修改 config/plugin/arcoStyleImport.ts 文件
What is expected?
设置 style 为 false 的时候,按需导入组件,但不导入对应样式。
Steps to reproduce
The text was updated successfully, but these errors were encountered: