Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 658 Bytes

File metadata and controls

39 lines (32 loc) · 658 Bytes

安装

npm install nebula-create-react -g
# or
yarn global add nebula-create-react

如何使用

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

生成项目文件结构

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

生成模版简介

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