摘要: 一 .VUE使用 https://cn.vuejs.org/v2/guide/routing.html 1.VUE-CLI 脚手架 https://www.jianshu.com/p/1ee1c410dc67 使用vue-cli(vue脚手架)快速搭建项目 2. VUE-CLI 脚手架项目搭建 ht 阅读全文
posted @ 2019-10-12 16:40 supreme999 阅读(6971) 评论(0) 推荐(0)
摘要: 一 .VUE使用 https://cn.vuejs.org/v2/guide/routing.html 1.Vue成员获取(挂载) 2. 计算属性computed 3. $watch 监听数据变化 4. 阅读全文
posted @ 2019-10-12 15:19 supreme999 阅读(201) 评论(0) 推荐(0)
摘要: 一. Vue使用 https://cn.vuejs.org/v2/guide/routing.html 1、引入vue.js 2. vue基本基本雏形 3. v-model 指令 一般用于表单的双向数据绑定(v-model:把input的值和变量绑定了,实现) 4. v-for:根据变量的值来循环渲 阅读全文
posted @ 2019-10-12 02:13 supreme999 阅读(218) 评论(0) 推荐(0)