上一页 1 ··· 91 92 93 94 95 96 97 98 99 ··· 129 下一页
摘要: https://blog.csdn.net/playboyanta123/article/details/78349034(原文) 目前大多数基于vue的项目都是用vue-cli 创建的。当创建项目完成后,我们进入到项目目录,启动cmd命令窗口,输入npm install,它就会安装一堆东西(依赖) 阅读全文
posted @ 2019-03-01 13:24 ThisCall 阅读(315) 评论(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 阅读(1246) 评论(5) 推荐(0)
摘要: https://www.cnblogs.com/jellify/p/9522477.html install的弹出框中输入sublimeTmpl,找到sublimeTmpl这个插件后回车 Vue路由 重定向和 别名的区别 https://blog.csdn.net/u012302552/articl 阅读全文
posted @ 2019-02-28 17:02 ThisCall 阅读(331) 评论(0) 推荐(0)
摘要: 创建好项目(npm run dev 运行项目:先不用运行,或先运行再关闭) 先安装axios! 然后! 配置模板! 在脚手架里面的用法! PS。平时在别的地方也用 axios 挺好用的 安装vuex npm install vuex --save npm install vue-router --s 阅读全文
posted @ 2019-02-28 14:56 ThisCall 阅读(195) 评论(0) 推荐(0)
摘要: npm install -g @tarojs/cli //或 yarn global add @tarojs/cli 阅读全文
posted @ 2019-02-28 12:49 ThisCall 阅读(158) 评论(0) 推荐(0)
摘要: vue爬坑之路 npm uninstall 模块名(删除指定模块) https://www.cnblogs.com/wisewrong/p/6255817.html vue快速入门 https://segmentfault.com/a/1190000003968020 VueJs2.0建议学习路线 阅读全文
posted @ 2019-02-28 11:04 ThisCall 阅读(169) 评论(0) 推荐(0)
摘要: //进入的第二个页面 var pages = getCurrentPages(); var currentPage = pages[pages.length - 2];//当前页 console.log(currentPage.route) if (pages.length > 1) { //说明有 阅读全文
posted @ 2019-02-22 16:10 ThisCall 阅读(355) 评论(0) 推荐(0)
摘要: https://www.jianshu.com/p/32997f74c828 阅读全文
posted @ 2019-02-18 18:03 ThisCall 阅读(234) 评论(0) 推荐(0)
摘要: https://www.jianshu.com/p/31f78fb9e4ba 阅读全文
posted @ 2019-02-18 13:57 ThisCall 阅读(230) 评论(0) 推荐(0)
摘要: 不仅类,函数,甚至参数都可以获取完整路径 阅读全文
posted @ 2019-01-12 14:55 ThisCall 阅读(120) 评论(0) 推荐(0)
上一页 1 ··· 91 92 93 94 95 96 97 98 99 ··· 129 下一页