Skip to content

图标配置成动态加载时, 在服务器端会提示找不到图标 #4

@xujz520

Description

@xujz520

图标配置成动态加载:

{
    "glob": "**/*",
    "input": "./node_modules/@ant-design/icons-angular/src/inline-svg/",
    "output": "/assets/"
}

在服务器端提示:

ERROR Error: [@ant-design/icons-angular]: the icon user-o does not exist or is not registered.
ERROR Error: [@ant-design/icons-angular]: the icon laptop-o does not exist or is not registered.
ERROR Error: [@ant-design/icons-angular]: the icon notification-o does not exist or is not registered.

在浏览器端正常

Metadata

Metadata

Assignees

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