随笔分类 -  vue

摘要:Vue.use(Loading): index.js Loading.vue 自定义vue全局组件: 使用:<Loading></Loading> app.vue <loading></loading> 在main.js import Loading from './components/Loadi 阅读全文

posted @ 2017-10-15 14:16 queena_w 阅读(179) 评论(0) 推荐(0)

摘要:使用别人的组件: 比如:Vue.use(Vuesource); Vue.use(VueRouter); Vue.use(MintUI); 1.自定义全局组件: 使用 <Loading></Loading> 2.main.js App.vue index.js Loading.vue 运行结果:引入了 阅读全文

posted @ 2017-08-25 00:10 queena_w 阅读(224) 评论(0) 推荐(0)

摘要:实现添加和删除操作: 阅读全文

posted @ 2017-08-04 02:01 queena_w 阅读(426) 评论(0) 推荐(0)

摘要:parent.vue 父 child.vue 子 结果: hello 阅读全文

posted @ 2017-07-15 12:25 queena_w 阅读(89) 评论(0) 推荐(0)

摘要:parent.vue 父 child.vue 子 结果: hello 阅读全文

posted @ 2017-07-15 12:22 queena_w 阅读(86) 评论(0) 推荐(0)

摘要:使用 npm: 使用 bower: 阅读全文

posted @ 2017-07-14 14:04 queena_w 阅读(126) 评论(0) 推荐(0)

导航