基于vue全家桶开发音乐webapp
- Vue2.3:采用最新Vue2.3的语法
- Vuex:管理组件之间状态
- vue-router:单页面应用路由
- jsonp:发起跨域http请求
- stylus:css预处理语言
- Express:解决api接口referer端口限制。
- Webpack:自动化构建工具,主要配置vue-cli脚手架提供。
- ES6:采用ES6语法。
- CSS3:CSS3动画及样式。
- 音乐播放、暂停、切换、收藏
- 搜索单曲、歌手 / 上拉加载更多
- 搜索历史记录
- 首页轮播图
- 歌曲排行榜
- 切换播放模式
- 歌词跟随播放进度显示
- 图片懒加载/组件懒加载
# 安装项目依赖
npm install
# 启动项目,在浏览器输入localhost:8080访问
npm run dev
# 打包项目
npm run build