22.vue项目练习知识点
2018-09-07 本文已影响56人
yaoyao妖妖
1.在webpack.base.conf.js中可以设置路径的替代

2.在main.js中导入外部的第三方库和vue的挂载

3.在config->index.js里面可以设置数据路径的重定向


4.在vue项目中本地的图片和文件都需要放在static文件夹下面,不然会导致无法找到对应的文件或者图片

1.在webpack.base.conf.js中可以设置路径的替代
2.在main.js中导入外部的第三方库和vue的挂载
3.在config->index.js里面可以设置数据路径的重定向
4.在vue项目中本地的图片和文件都需要放在static文件夹下面,不然会导致无法找到对应的文件或者图片