摘要: https://blog.csdn.net/playboyanta123/article/details/78349034(原文) 目前大多数基于vue的项目都是用vue-cli 创建的。当创建项目完成后,我们进入到项目目录,启动cmd命令窗口,输入npm install,它就会安装一堆东西(依赖) 阅读全文
posted @ 2019-03-01 13:24 ThisCall 阅读(297) 评论(0) 推荐(0)
摘要: 第一种 const router = new VueRouter({ routes: [{ path: '/newSongs', component: require('../views/NewSongs'), alias: '/' }, { path: '/rank', component: re 阅读全文
posted @ 2019-03-01 10:44 ThisCall 阅读(1229) 评论(5) 推荐(0)