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.
- Host: GitHub
- URL: https://github.com/jensneuse/react-boilerplate
- Owner: jensneuse
- Created: 2017-10-09T05:39:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-14T18:05:08.000Z (over 7 years ago)
- Last Synced: 2025-01-11T11:48:10.944Z (4 months ago)
- Topics: boilerplate, code-splitting, hot-module-replacement, hot-reload, hot-reloading, react, server-side-rendering, typescript
- Language: TypeScript
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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'