上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 18 下一页
摘要: https://meyerweb.com/eric/tools/css/reset/ https://blog.csdn.net/suejun/article/details/73302923 重置css样式: 阅读全文
posted @ 2018-06-10 17:15 miaomiaotab 阅读(168) 评论(0) 推荐(0) 编辑
摘要: D:\workspace\xxx\src\main.js D:\workspace\xxx\src\components\layout.vue 阅读全文
posted @ 2018-06-10 17:11 miaomiaotab 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 接上文 一个简单的例子 vux mutation改变状态 D:\workspace\xxx\src\main.js 定义actions D:\workspace\xxx\src\components\Apple.vue 就可以使用用.dispatch('increase', this.price)方 阅读全文
posted @ 2018-06-10 16:32 miaomiaotab 阅读(307) 评论(0) 推荐(0) 编辑
摘要: D:\workspace\xxx\src\main.js 引用、注册、定义state、mutations D:\workspace\xxx\src\App.vue computed计算并呈现结果(show) D:\workspace\xxx\src\components\Apple.vue 调用mu 阅读全文
posted @ 2018-06-10 16:16 miaomiaotab 阅读(754) 评论(0) 推荐(0) 编辑
摘要: 错误代码 正确代码: 分析:构造器写法写错了应该是new Vuex.Store({}) 下面请忽略。。 let store = new Vuex({ state: { totalPrice: 0 }, mutations: { increment (state, price) { state.tot 阅读全文
posted @ 2018-06-10 16:03 miaomiaotab 阅读(5862) 评论(0) 推荐(0) 编辑
摘要: D:\workspace\xxx\src\main.js D:\workspace\xxx\src\App.vue D:\workspace\xxx\src\components\Apple.vue D:\workspace\xxx\src\components\Banana.vue D:\work 阅读全文
posted @ 2018-06-10 14:32 miaomiaotab 阅读(928) 评论(0) 推荐(0) 编辑
摘要: D:\workspace\xxx\src\main.js 使用 阅读全文
posted @ 2018-06-10 14:22 miaomiaotab 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 安装vue-router模块 使用vue-router前要先安装vue-router库 使用vue-router vue-router有三个要素:路由map 路由视图 路由导航。路由map指路由与组件的映射关系;路由视图指路由映射对应组件的渲染位置;路由导航指可以使地址栏发生变化的导航链接。一、路由 阅读全文
posted @ 2018-06-10 13:57 miaomiaotab 阅读(824) 评论(0) 推荐(0) 编辑
摘要: router-link-active router-link-exact-active router-link-active TO DO 阅读全文
posted @ 2018-06-10 13:53 miaomiaotab 阅读(444) 评论(0) 推荐(0) 编辑
摘要: <!-- 当前目录 --> <router-link to="apple">to apple</router-link> <!-- 根目录 --> <router-link to="/apple">to apple</router-link> <!-- 当前目录 --> <router-link t 阅读全文
posted @ 2018-06-10 13:31 miaomiaotab 阅读(374) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 18 下一页