Skip to content

RachaneeSaeng/react-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReactTemplate

Template to create react application with Typescipt + Babel + WebPack + Hot Loader.

Run below command in command windows to install all modules specifified in package.json.

npm install

Development

comment out following line from webpack.config.js

process.env.NODE_ENV = 'production';

Then command prompt at the project folder

  1. Run command webpack to bundle modules

  2. Run command npm start to start webpack dev server with hot loader.

Production

uncomment following line from webpack.config.js

process.env.NODE_ENV = 'production';

Then command prompt at the project folder

  1. Run command webpack -p to minify and bundle modules

About

Template to create react application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published