摘要:
项目初始化git:git init 连接请求git:git remote add origin https://gitee.com/LHJ0315/AAA.git 更改远程路径:git remote set-url origin https://gitee.com/LHJ0315/AAA.git 强 阅读全文
摘要:
阅读全文
摘要:
1.下载Font Class类型的到本地2.把iconfont.css iconfont.eot iconfont.svg iconfont.ttf iconfont.woff 这几个文件复制到vue项目中的src的新建的icon目录下3.在main.js中引入 import "./icon/ico 阅读全文
摘要:
vue-cli项目安装使用stylus步骤:1. npm install stylus -D命令,在项目内安装stylus。(注意:命令结尾 -D 即是 --save-dev 的简写形式) 2.需要安装loader,通过 npm install stylus-loader css-loader st 阅读全文
摘要:
使用vue-preview做图片缩率图1.安装 npm i vue-preview -S2.如果使用vue-cli生成的项目,需要修改webpack.base.conf.js文件中的loaders,添加一个loader{ test:/vue-preview.src.*?js$/, loader:'b 阅读全文
摘要:
import Vuex from 'vuex' //引入Vue.use(Vuex) //加载到Vue中//创建一个数据存储对象var store=new Vuex.Store({ //state可以当做vue中的data,专门用来存储数据 state:{ counter:0 }, //用来操作sta 阅读全文
摘要:
阅读全文
摘要:
.arrows { display :block; text-align: center; position: relative; margin-top :-9px; margin-left :33px; width: 5px; height: 5px; border-top: 2px solid 阅读全文
摘要:
Array.length 返回或设置一个数组中的元素个数 设置 length 属性的值来截断任何数组 Array.from() : 对伪数组或可迭代对象(包括arguments Array,Map,Set,String…)转换成数组对象 语法 Array.from(arrayLike, mapFn, 阅读全文