![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Vue
Colin_me
我为何要退却,未曾努力,还奢望得到什么?
展开
-
Vue2.0配置vue-router
// The Vue build version to load with the `import` command // (runtime-only or standalone) has been set in webpack.base.conf with an alias. import Vue from 'vue'; import App from './App'; import VueRo原创 2017-08-22 17:07:12 · 351 阅读 · 0 评论 -
VueJs探索之watch用法详解
Vue.js 提供了一个方法 watch,它用于观察Vue实例上的数据变动。对应一个对象,键是观察表达式,值是对应回调。值也可以是方法名,或者是对象,包含选项。具体的用法可以直接看下面的示例,简单直接。 var vm = new Vue( { el: '#app', data: {转载 2017-10-11 23:06:23 · 248 阅读 · 0 评论