Skip to content

magnum-zx/mini-vue2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mini-vue2

Implement a simple Vue2 framework, learning the feature of the Vue2

Rollup setting file

rollup.config.js

Start project

npm run dev

Test file entry

打包完的vue.js可以在 dist/index.html 中测试

Plan list

  • 使用Rollup搭建开发环境
  • Vue响应式原理实现,对象属性劫持、深度劫持
  • 实现对数组的劫持
  • 模板编译
  • 代码生成,实现虚拟DOM
  • 通过虚拟ODM生成真实DOM
  • 依赖收集(Watcher, Dep)
  • 异步更新(nextTick)
  • ...

About

Implement a simple Vue2 framework, learning the feature of the Vue2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors