0.2.0 • Published 7 years ago

react-so-cool v0.2.0

Weekly downloads
2
License
ISC
Repository
-
Last release
7 years ago

react-so-cool

介绍

参考 create-react-app 项目,基于个人技术栈实现的一个快速创建 react-web 项目的脚手架

项目架构

├── README.md
├── build
│   ├── utils
│   │   └── index.js
│   ├── webpack.config.base.js
│   ├── webpack.config.dev.js
│   └── webpack.config.prod.js
├── package-lock.json
├── package.json
├── public
│   ├── favicon.ico
│   ├── index.html
│   └── manifest.json
├── schema
│   └── userList.js
└── src
    ├── App.js
    ├── assets
    │   └── images
    │       └── demo.jpg
    ├── configs
    │   ├── routes.js
    │   └── servers.js
    ├── constants
    │   └── index.js
    ├── index.js
    ├── layouts
    │   ├── Body
    │   │   ├── HBreadcrumb
    │   │   │   ├── index.js
    │   │   │   └── index.less
    │   │   ├── Menu
    │   │   │   └── index.js
    │   │   ├── index.js
    │   │   └── index.less
    │   ├── Footer
    │   │   ├── index.js
    │   │   └── index.less
    │   ├── Header
    │   │   ├── Menu
    │   │   │   ├── index.js
    │   │   │   └── index.less
    │   │   ├── index.js
    │   │   └── index.less
    │   ├── Menu
    │   │   ├── index.js
    │   │   └── index.less
    │   ├── index.js
    │   └── index.less
    ├── models
    │   └── global.js
    ├── pages
    │   ├── ErrorPage
    │   │   └── index.js
    │   ├── Login
    │   │   ├── index.js
    │   │   └── index.less
    │   └── UserCenter
    │       ├── index.js
    │       └── index.less
    ├── router.js
    ├── services
    │   └── index.js
    ├── styles
    │   └── global.less
    └── utils
        ├── common.js
        ├── index.js
        └── router.js

安装教程

# 全局安装
npm install react-so-cool -g

使用说明

# 初始化项目
1. react-so-cool init [appName]  

# 添加模块
2. react-so-cool generate --schema <url> 

参考

反馈与建议

0.2.0

7 years ago

0.0.2

7 years ago