techird / react-redux-typescript-start

A starter kit to use the typescript + react + redux stack. With some useful utils.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React-Redux-TypeScript Starter Kit

A starter kit for developers to use react + redux + typescript stack easily. This repos also provides an tiny example of how to write business with redux and typescript.

Enjoy it!

Installation

First step, you should install typescript, typings and webpack.

npm install typescript typings webpack -g

Then clone the repo down (from this repo or somewhere you folked).

git clone https://github.com/techird/react-redux-typescript-start.git

Run npm init command to install all dependencies.

npm run init

Development

Run npm dev command to start development. React hot module replacement is enabled!

npm run dev

And now you can visit http://localhost:8081.

Build

Run npm build command to build final production files.

npm run build

About

A starter kit to use the typescript + react + redux stack. With some useful utils.


Languages

Language:TypeScript 66.6%Language:JavaScript 27.0%Language:HTML 4.9%Language:CSS 1.6%