Skip to content

missing style Folder ,The correct path should be 'ant-design-vue/es/auto-complete/style ' ,But he is missing #8291

@cieme

Description

@cieme
  • 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

https://github.com/

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions