摘要: 1.自定义过滤器 格式: 2.computed 属性默认只有 getter ,不过在需要时你也可以提供一个 setter 3.Vue.js 事件处理器 http://www.runoob.com/vue2/vue-events.html 事件修饰符 Vue.js 为 v-on 提供了事件修饰符来处理 阅读全文
posted @ 2018-07-17 16:47 灬小乙 阅读(308) 评论(0) 推荐(0) 编辑
摘要: 1.vue-cli构建 vue-cli工具构建:https://blog.csdn.net/u013182762/article/details/53021374 npm的镜像替换成淘宝 2.项目运行 在项目目录中,运行命令 npm run dev ,也可以运行npm run start(在pack 阅读全文
posted @ 2018-07-17 14:56 灬小乙 阅读(1644) 评论(0) 推荐(0) 编辑