随笔分类 -  vue

摘要:main.js // The Vue build version to load with the command // (runtime only or standalone) has been set in webpack.base.conf with an alias. import Vue 阅读全文
posted @ 2018-02-25 09:58 IT-caijw 阅读(118) 评论(0) 推荐(0)
摘要:异步REST / @Author: caijw @Date: 2018 02 23 14:07:30 @Last Modified by: caijw @Last Modified time: 2018 02 23 15:04:40 / const app = new Vue({ el : ' ap 阅读全文
posted @ 2018-02-25 09:57 IT-caijw 阅读(602) 评论(0) 推荐(0)
摘要:vue cli下载 加载其他模块 module.vue 阅读全文
posted @ 2018-02-25 09:57 IT-caijw 阅读(366) 评论(0) 推荐(0)
摘要:components 组件 //组件 Vue.component('friend component', { props : ['friend'], filters:{ ageInOneYear(age) { return age + 1; }, fullName(value) { return ; 阅读全文
posted @ 2018-02-22 00:49 IT-caijw 阅读(127) 评论(0) 推荐(0)
摘要:directives 指令 const app = new Vue({ el : ' app', data : { friends: [ { first : 'bobby', last : 'banne', age : 25 }, { first : 'john', last : 'Baby', a 阅读全文
posted @ 2018-02-22 00:48 IT-caijw 阅读(172) 评论(0) 推荐(0)
摘要:vue02 filters computer html main.js const app = new Vue({ el : ' app', data : { bobby: { first : 'bobby', last : 'banne', age : 25 }, john : { first : 阅读全文
posted @ 2018-02-22 00:47 IT-caijw 阅读(249) 评论(0) 推荐(0)
摘要:vue学习01 index.html main.js const app = new Vue({ el : ' app',//挂载在哪个节点 data : { //数据存储 bobby: { name : 'bobby banne', age : 25 }, john : { name : 'joh 阅读全文
posted @ 2018-02-22 00:46 IT-caijw 阅读(85) 评论(0) 推荐(0)