1.0.0 • Published 4 years ago

ming-create-react v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

安装

npm install @rare/create-react -g
# or
yarn global add @rare/create-react

如何使用

> mkdir  [projectName]
> cd  [projectName]
> create-react

生成项目文件结构

|-- /src
    |-- /api
        |-- ...
    |-- /components
        |-- /...
            |-- ...
            |-- ...
    |-- /container
        |--/...
    |-- /res
    |-- /models
        |-- ...
    |-- /router
        |-- ...

生成模版简介

移动端 wab app 模版已经集成 状态管理器dva、路由管理react-router,并且适配移动端

1.0.0

4 years ago