7

为什么我vue项目打包后,打开index.html变成了这个样子

 3 years ago
source link: https://www.oschina.net/question/4004226_2323396
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

为什么我vue项目打包后,打开index.html变成了这个样子

顽乄鹿 发布于 前天 09:17
阅读 205


Vue3.0项目,刚开始打包后页面空白,文件路径引入错误,配置了publicPath后,引用路径错误问题解决了,但是打开index.html文件,出来的是文件夹的索引目录,谁能告诉我这是怎么回事?



顽乄鹿
最近登录:前天 16:15
©OSCHINA(OSChina.NET)
开源软件推进联盟
指定官方社区

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK