https://github.com/kanweiwei/react-ts-starter
react 、typescript、redux、react-router种子项目
https://github.com/kanweiwei/react-ts-starter
antd less react react-router redux redux-saga scss typescript
Last synced: 3 months ago
JSON representation
react 、typescript、redux、react-router种子项目
- Host: GitHub
- URL: https://github.com/kanweiwei/react-ts-starter
- Owner: kanweiwei
- License: mit
- Created: 2018-02-11T11:47:12.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-13T01:40:04.000Z (over 8 years ago)
- Last Synced: 2025-02-14T12:53:49.441Z (over 1 year ago)
- Topics: antd, less, react, react-router, redux, redux-saga, scss, typescript
- Language: JavaScript
- Size: 151 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-ts-starter
This project was based on `create-react-app` and `create-react-app-typescript`.
(https://github.com/facebookincubator/create-react-app).
(https://github.com/wmonk/create-react-app-typescript).
## How to start
use `npm` or `yarn`
```bash
$ git clone https://github.com/kanweiwei/react-ts-starter
$ cd react-ts-starter
$ yarn install
$ yarn run dev
```
Now you can visit [http://localhost:3006/](http://localhost:3006/)
## How to build
```bash
$ yarn run build
```
The files built can be seen in the 'dist' directory.
## UI Library
I have chosen the [Ant-design](https://github.com/ant-design/ant-design) for you, besause it is maintained by a nice team of Alipay. So you can use it directly for convenience.
Because of antd, I added `less-loader`, so the starter both support less and scss css preprocessor.
## MIT License
Enjoy youself! : )