-
-
new Vue({
el: '#app',
data: {
message: 'HelloWorld!',
number: 3,
ok: true
},
methods: {
sayHi: function() {
return 'Hi';
}
}
})
-
[here](https://medium.com/quick-code/crud-app-using-vue-js-and-django-516edf4e4217)
-
# v-on
添加一个事件监视器,调用实例中的方法
``
` {{ message }}`
` 逆转消息`
``
`var app5 = new Vue({ `
` el: '#app-5', `
` data: { message: 'Hello Vue.js!' }, `
`methods: { `
`reverseMessage: fu…
-
Hello to everyone,
there is out there a chance to use with Vue js??
Thanks
-
## Hello world
html
```
{{ message }}
```
js
```
var app = new Vue({
el: '#app',
data: {
message: 'Hello world!',
},
});
```
-
-
这里面用到vue.js了吗?
我从网站上跳过来的,浏览了一下代码,没有找到vue相关的东西呢
-
https://github.com/QingWei-Li/vue-tricks (实用技巧 👍 💯 )
https://defed.github.io/categories/Vue/ (Vue源码解读)
https://github.com/NoDivide/astrum , http://astrum.nodividestudio.com/pattern-library/ (A l…
-
[Introduction - vue.js](http://vuejs.org/guide/)
- [x] data binding
- [ ] component aggregation
- [x] routing
- [ ] state management
## Resources
- [Views on Vue Archive | Devchat.tv](http…