Skip to content

FinchJohnRen/mvvm-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

一个简易的mvvm示例

  1. 通过Object.defineProperty的get和set进行数据劫持
  2. 通过遍历data数据进行数据代理到this上
  3. 通过{{}}对数据进行编译
  4. 数据双向绑定

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

About

an expamle of MVVM and build with webpack4.0 :D

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published