create-rtak-app
create-rtak-app means create-react-typescript-antd-koa-app
.
use webpack-dev-middleware and express Realization HMR.
use React、Typescript、Antd、Koa2、perttier
Quick Start
Configuration environment
- Node.js Version ^4.8.4 || ^6.10.1 || ^7.10.1 || >= 8.1.4"
- yarn or NPM
- if you use NPM, you must delete yarn.lock
- Typescript
Step
$ git clone https://github.com/Adherentman/create-rtak-app.git
$ cd create-rtak-app
$ yarn
development environment
$ yarn run-start
Use koa-webpack-middleware achieve HMR.
Visit localhost:8888 in your browser.
If you want the server to listen to another port, modify the port value in webpack.dev.js
.
production environment
$ yarn build
Build your own project
You cloned this project from github with a .git directory at the root derectory. The .git directory could probably be invisible to you because it is hidden. If you plan to create your own git project, delete the the .git repository first.
$ rm -rf .git
Contributing
Pull requests and stars are always welcome.
For bugs and feature requests, please create an issue.
Fork it!
Create your feature branch: git checkout -b my-new-feature
Commit your changes: git commit -am 'Add some feature'
Push to the branch: git push origin my-new-feature
Submit a pull request :D