Vue的使用
基本使用
- 模版(插值,指令)
- computed和watch
- class和style
- 条件
- 循环
- 事件
- 表单
组件
- 生命周期
- props(类型和默认值)
- v-on和$emit
- 自定义事件
高级特性
- 自定义v-model
- $nextTick
- refs
- slot
- 动态组件
- 异步组件
- keep-alive
- mixin
Vue的周边工具
Vuex
- state
- getters
- action
- mutation
- 用于vue
- dispatch
- commit
- mapState
- mapGetters
- mapActions
- mapMutations
Vue-router
- 动态路由
- to和push
- hash和history
- 懒加载(配合动态组件)
Vue的原理
- 组件化和MVVM
- 响应式原理
- vdom和diff算法
- 模版编译
- 组件渲染过程
- 前端路由