# mvvm-2 **Repository Path**: mirrors_singod/mvvm-2 ## Basic Information - **Project Name**: mvvm-2 - **Description**: 简易版mvvm库实现(仿vue1.0) - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-25 - **Last Updated**: 2026-07-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 简易版mvvm库 - 指令 - v-model : 双向数据绑定 - v-text : 单项数据绑定 - v-show : 是否显示 - v-for : 循环遍历 - v-if/v-else : 条件判断 ## 可在console里面对数据操作调试ui - 启动项目 - npm i - npm run build - npm start - http://127.0.0.1:8080/example 打开 如果sourcemap没生效可以将babel-core node_modules里面babel-generator/lib source-map替换为6.11.0及之前就能生效 babel的bug 尼玛一个礼拜才踩过来的坑!!!!