This is an Admin Template with React, Redux, and React-Router! You can use validated email & password to login.
- node
^5.0.0
- yarn
^0.23.0
or npm^3.0.0
After confirming that your environment meets the above requirements, you can create a new project based on thsi-react-admin
by doing the following:
$ git clone https://github.com/EricThsi/thsi-react-admin.git <my-project-name>
$ cd <my-project-name>
When that's done, install the project dependencies. It is recommended that you use Yarn for deterministic dependency management, but npm install
will suffice.
$ yarn # Install project dependencies (or `npm install`)
使用 dev.js 配置文件
npm run start
使用 pre_dev.js 配置文件
NODE_ENV=predev npm run start
使用 pre_test.js 配置文件
npm run pretest
使用 prod.js 配置文件
npm run build