学习类Vue框架写的demo,实现了数据绑定,组件等Vue基础功能,但实现方式与Vue不同,仅供参考 学习Vue还请看Vue源码
不定期更新。。。
git clone git@github.com:Shunjun/Svue.git
cd Svue
npm install
npm run dev
Lifecycles:
- created
- updated
Data:
- data
- methods
- computed
- watch
Directive:
- v-text
- v-html
- v-show
- v-if
- v-for
- v-on
- v-model
- v-bind
- v-cloak