Skip to content

通过阅读vue的早期源码来仿照实现一个简单的mvvm框架

Notifications You must be signed in to change notification settings

cheer4chai/fakeVue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fakeVue

通过阅读vue的早期源码来仿照实现一个简单的mvvm框架

已完成内容

  • directive的简单解析并动态更新
  • observer实现对对象以及数组的监听
  • watcher实现动态数据绑定

如何启动

npm i
npm run build
npm run watch

然后访问http://localhost:3000/dist

About

通过阅读vue的早期源码来仿照实现一个简单的mvvm框架

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published