|-- dist 打包目录
├── src
│ |── client 前端代码
│ | |
│ | ├── index.jsx 前端入口文件
│ | ├── components 基础组件
│ | ├── container 页面容器组件
│ | ├── utils 公共方法
│ | └── redux 状态管理
│ | ├── action Action、ActionType的定义
│ | ├── reducer 业务状态处理
│ |
│ |
│ |
| |── server 后端node代码
│ |
│ ├── index.js 后端入口文件
│ ├── model 数据库模型
│ ├── router 后端路由
|
|
|
└── .babelrc
└── .gitignore
└── index.html 模板
└── package.json
└── README.md
└── webpack.dev.conf.js
└── webpack.pro.conf.js
👉预览地址:请点我!在线预览,手机浏览或切换浏览器移动调试
>sudo mongod
>npm install
>npm run client
>npm run server
>npm run build