Skip to content

antd5报错 #691

@ayahua

Description

@ayahua

使用antd5时报错:Cannot find module 'antd/dist/antd.less'
使用antd4没有问题,看了一下是antd5现在没用antd/dist/antd.less,而是用antd/dist/reset.css了,生成的umi.ts里的依赖引用还是antd4的时候的antd/dist/antd.less

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions