06 2018 档案

摘要:import VueResource from 'vue-resource'; Vue.use(VueResource); 阅读全文
posted @ 2018-06-20 17:08 昂达达 阅读(141) 评论(0) 推荐(0) 编辑
摘要:在样式里面,,视口 是什么意思 看到19了 https://router.vuejs.org/ vue路由配置: 1.安装 npm install vue-router --save / cnpm install vue-router --save 2、引入并 Vue.use(VueRouter) 阅读全文
posted @ 2018-06-20 15:30 昂达达 阅读(88) 评论(0) 推荐(0) 编辑
摘要:<!-- 绑定属性 --> <img v-bind:src="url" /> <br> <img :src="url" /> <br> <br> {{h}} <!-- 绑定html --> <div v-html="h"> </div> <!-- 绑定数据的另一种方法 --> <div v-text 阅读全文
posted @ 2018-06-19 17:30 昂达达 阅读(422) 评论(0) 推荐(0) 编辑
摘要:##################################钩子函数: beforeCreate() 实例初始化自动调用 created() 实例创建后调用 beforeMount() 在mount之前运行,元素已经加载,但是 属性值没渲染 mounted() 在编译结束时调用,加载完成 b 阅读全文
posted @ 2018-06-19 17:29 昂达达 阅读(2002) 评论(0) 推荐(0) 编辑
摘要:cnpm 下载包的速度更快一些。 地址:http://npm.taobao.org/ 安装cnpm: npm install -g cnpm --registry=https://registry.npm.taobao.org 搭建vue的开发环境: https://cn.vuejs.org/v2/ 阅读全文
posted @ 2018-06-19 17:27 昂达达 阅读(598) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示