-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
构建时Icon文件丢失 #18
Comments
麻烦给一下示例 |
好的,这个问题我实验了一下,发现比较奇怪,不知道是不是咱们这个项目的问题 问题描述
修改为
实验-1在第二步中,将
替换为
这时再打包,可以发现构建起来的工程包含了这个图片 实验-2在第二步中,将
拆分为
这时打包,可以发现构建起来的工程也包含了这个图片 结论实验-2的方法可以算作是一个解决方案,但是不太清楚为何原本的写法在构建时无法包含资源图片,由于本人技术所限,无法探究底层问题。。。如果是本项目的bug可以看看如何修复,如果是element-ui的bug,那就算啦。。。 |
这个应该不是 这个项目的 bug,我在其他地方也看到过这个问题 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
开发时在.\src\render\assets\目录下使用的icon文件,yarn dev时可以正常使用,但是yarn build后找不到这一icon文件
The text was updated successfully, but these errors were encountered: