1、初始化vue项目,报错This is probably not a problem with npm,there is likely additional logging output above

原因:版本原因,更新一下

解决方案: 
npm install之后,运行 npm i -D [email protected]

2、引入fontAwson打包完后路径问题

解决方案:在build》utils.js加上图中那一段代码    publicPath:'../../'

vue遇到的问题与疑问

3、打包问题注意事项

npm run build之前要在config >index.js中将assetsPublicPath: '/',里面的/删除

页面#不能丢

4、首页显示问题

如果想在页面首页显示第一页,在mian里面加入redirect: 'home'

vue遇到的问题与疑问

5、Failed to mount component: template or render function not defined.

页面没有内容

 

 

 

 

 

相关文章: