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

请问如何布局字体文件和引用路径?(本地预览情况下静态资源路径设置) #454

Closed
ching2018 opened this issue May 7, 2017 · 1 comment

Comments

@ching2018
Copy link

image
感谢大大的无私奉献!
我想使用vue-cli来做一个Hybrid App,所以需要:本地打开dist文件夹下的index.html文件进行预览。
但是出现了字体引用路径错误的问题,已经修改了config/index.js文件下的assetsPublicPath: '/'assetsPublicPath: './',但是还是无效,出现以下错误。
请问我该如何设置?谢谢指导~
image

@egoist
Copy link
Collaborator

egoist commented May 7, 2017

请阅读运行 npm run build 之后的提示,下次请将类似问题提到 stackoverflow 或者相应的 repo 里。

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