An open API service indexing awesome lists of open source software.

https://github.com/jensneuse/react-boilerplate

This repo is a starter to use react together with typescript, react router, helmet, hot module replacement/live reload and code splitting with the help of webpack.
https://github.com/jensneuse/react-boilerplate

boilerplate code-splitting hot-module-replacement hot-reload hot-reloading react server-side-rendering typescript

Last synced: 2 months ago
JSON representation

This repo is a starter to use react together with typescript, react router, helmet, hot module replacement/live reload and code splitting with the help of webpack.

Awesome Lists containing this project

README

        

# react boilerplate

This repository works as a blueprint for react web projects.

**Features**:

- Typescript
- hot module replacement / Live reload
- server side rendering
- code splitting
- helmet

**Requirements**

- node v6.x
- npm 3.x

**Install**

run 'npm install'

**Developing**

1. set your environment
- windows: 'set NODE_ENV=dev'
- *nix: 'export NODE_ENV=dev'
2. Build
- run 'npm run build'
3. Run
- run 'npm run serve'

**Production**

1. set your environment
- windows: 'set NODE_ENV=production'
- *nix: 'export NODE_ENV=production'
2. Build
- run 'npm run build'
3. Run
- run 'npm run serve'