Skip to content

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

Closed
@ching2018

Description

@ching2018

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

Metadata

Metadata

Assignees

No one assigned

    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