ElemeFE / ElemeFE/element

[Bug Report] Icons don't show in build, yet do show in development

Open
#17,978 7 comments 0 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.12.0

### OS/Browsers version
DEV: Linux, Chrome

### Vue version
2.6.10

### Reproduction Link
https://jsfiddle.net/6cya9nru/

The reproduction link is redundant.

### Steps to reproduce
This is a build issue, rather than a code one.
Previously on version up to v2.7.2 no problems.
First had this problem before with v2.8.2.

Developing is fine- NodeJS 12.x, icons appear: `yarn run dev`

after doing `yarn build` and moving to my server, the icons don't show.

### What is Expected?
The icons to show!
![image](https://user-images.githubusercontent.com/3030402/68314785-bc084b80-00f1-11ea-868e-0e2218a8ae88.png)

This is on my dev server. I stress I've never had issues until 2.8.2

### What is actually happening?
They don't show.
![image](https://user-images.githubusercontent.com/3030402/68314907-f1149e00-00f1-11ea-8ca9-8947c06c1834.png)

After doing `yarn build`.

I've even removed `/node_modules` directory, and done fresh install of all packages. Still the same issue.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.