一、项目技术
基于 Vue + Vant UI组件库 实现网易云音乐 Vant UI (有赞团队打造的移动端Vue组件库)地址:https://vant-contrib.gitee.io/vant/#/zh-CN
共项目共实现四个功能:主页Home、搜索页Search、评论页Comment、播放页Play 网易云手机端地址:https://y.music.163.com/m
二、准备工作
1、初始化Vue项目
① 安装Vue脚手架
npm i @vue/cli -g
目录
出错现象
出错原因
解决方案
出错现象
这个报错是我在用webpack+vue-loader的时候报的错误
报错信息
ERROR in ./src/App.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):
[vue-loader] vue-template-compiler must be installed as a peer dependency, or a compatible compile