# todoDva **Repository Path**: JasonShow/todo-dva ## Basic Information - **Project Name**: todoDva - **Description**: 使用react-hook、dva实现一个todolist案例 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-07-18 - **Last Updated**: 2021-07-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # TodoMVC 演示地址 [http://todomvc.com](http://todomvc.com) ![](https://github.com/tastejs/todomvc-app-css/raw/master/screenshot.png) ### 安装 dva-cli ```shell $ npm install dva-cli -g $ dva -v dva-cli version 0.10.1 ``` ## 创建新应用 ```shell dva new todoDva Do you insist on using dva-cli? y ``` ## 安装依赖 ```shell npm i 或者 yarn install ``` ## 开始 ```shell cd todoDva npm run start 或者 yarn start ``` ## 初始化模板 [模板地址](https://github.com/derricker/todo-template) ## 注意事项: 1. css模板内容存放在src下的index.css中,并在public文件夹下的index.html里正确引用