在jsfiddle上做一些VueJS基礎語法的練習。 雖然git也可以達到這樣的版本效果 ,覺得拿jsfiddle類似這樣的工具做前端語言練習真的滿方便的。
- Hello World
- methods, v-on
- v-bind
- v-html
- shorthand for v-bind/v-on
- v-model
- data, v-on
- method return
- computed
- watch
- :style
- :class
- filter
- filter argument
- Hello World
- v-if
- v-show
- template tag
- v-else, reuseable element
- v-else, reuseable element, key
- v-if-else
- v-if vs v-show
- v-for
- v-for object
- v-for objects
- v-for mutation
- v-for range
- Vue instances
- $refs
- global data
- global data part2
- call from another instance
- $mount
- Vue instance life circle
- mixins
- form component