todomvc-vue 单文件的实现,可供参考

github仓库地址 https://github.com/Z-HNAN/todomvc-vue-single

快速启动

  • git clone https://github.com/Z-HNAN/todomvc-vue-single.git clone下来该项目
  • npm install 安装所需要的一些依赖
  • 使用不同的方式进行预览
- `npm run dev` 开发方式预览
- `npm run build` 打包生成文件

在线预览

https://z-hnan.github.io/todomvc-vue-single/dist/index.html

目录结构

│   app.js
│   index.html
│
├───component
│   │   app-footer.vue
│   │   app.vue
│   │
│   └───todo
│           todo-footer.vue
│           todo-header.vue
│           todo-list.vue
│
        index.css

todomvc-vue 单文件的实现

相关文章: