vue打包中的问题(一)

打包后图片和背景图片的路径报错 使用vue init webpack生成的vue项目模板,在开发完打包后会出现图片路径和背景图片路径错误的问题,解决办法以下。html 修改config/index.js中的配置: build: { index: path.resolve(__dirname, '../dist/index.html'), // Paths
相关文章
相关标签/搜索