-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Open
@cieme
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
4.2.6
Environment
window10 vue@latest chrome@latest
Reproduction link
Steps to reproduce
import Components from 'unplugin-vue-components/vite';
import { AntDesignVueResolver } from 'unplugin-vue-components/resolvers';
Components({
resolvers: [
AntDesignVueResolver({
importStyle: 'less', // css in js
}),
],
}),
What is expected?
no error
What is actually happening?
Internal server error: Failed to resolve import "ant-design-vue/es/auto-complete/style" from "src/components/SceneCore/components/SceneTree.vue". Does the file exist?
auto-complete 下面没有 style 文件夹,所以不能按需加载,他会找不到对应的样式文件夹
Metadata
Metadata
Assignees
Labels
No labels