Skip to content

chengwenxin/imooc-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Ioomc

项目介绍

利用react redux react-router 构建一个SPA demo 包含一个登录页面 和世界杯球队展示页面

软件架构

src components Login Teams index Germany Brazil Belguim China actions index.js (login logout) reducers loginReducer

App.js index.js

安装教程

  1. create-react-app world-cup-demo 利用create-reacct-app 搭建项目
  2. npm run eject 弹出配置(不可逆)
  3. npm install --save react-router-dom 安装react-router-dom (当前最新版本为router4)
  4. npm install babel-plugin-transform-decorators-legacy 安装装载器插件

使用说明

  1. npm start 启动webpack-dev-server
  2. 浏览器访问 localhost:3000
  3. xxxx

参与贡献

  1. Fork 本项目
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request

About

慕课网 react-redux 示例

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published