Skip to content
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

本地启动正常,但通过npm run build打包部署后样式丢失 #43

Closed
hiling opened this issue Aug 12, 2018 · 1 comment
Closed

Comments

@hiling
Copy link

hiling commented Aug 12, 2018

部署后element-ui-theme样式丢失。

@hiling
Copy link
Author

hiling commented Aug 12, 2018

找到原因了,是nginx配置问题,将css文件的Content-Type返回为text/plain了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants