摘要: 1.安装脚手架 npm i @vue/cli -g 2.脚手架创建项目 vue create myproject 3.创建项目完成后,手动在项目根目录创建vue.config.js module.exports = { devServer: { host: 'localhost', port: 80 阅读全文
posted @ 2020-09-03 04:02 凉城i 阅读(1126) 评论(0) 推荐(0) 编辑
摘要: String.prototype.myTrim = function () { return this replace(/^\s+/, '').replcae(/\s+$/, '') } 阅读全文
posted @ 2020-09-01 02:52 凉城i 阅读(214) 评论(0) 推荐(0) 编辑
摘要: git push -u origin login(分支名称) 阅读全文
posted @ 2020-08-29 03:41 凉城i 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 1.Vue中安装Swiper 官方命令 1 npm install swiper vue-awesome-swiper --save 1.1 npm install vue-awesome-swiper@3.1.3 --save-dev //下载vue-awesome-swiper 2.根据官方命令 阅读全文
posted @ 2020-08-26 15:12 凉城i 阅读(1487) 评论(0) 推荐(0) 编辑