Starter App for React projects with routing options, managed by Webpack and transpiled by Babel
- React for the view
- React Router for URL routing
- With support for route-based code splitting
react-loadable
for loading placeholders
- Webpack 3 for bundling
- Babel for ES6 and ES7 transpiling
- Webpack dev server for hot-reloading
- Node
- NPM or Yarn
git clone https://github.com/apvarun/ReactRouterStarter.git
cd ReactRouterStarter
yarn
yarn run build
yarn run <script> |
Description |
---|---|
build |
Build the project and output the files to the dist folder. |
dev |
Spins up a hot-reloading live server at localhost:8080 for development. |
analyse |
Generates the Stats.json file that talks about what teh bundle consists of. Use the Visualizer by Chris to analyse the output file. |
- React - The web framework
- React Router - The URL handler
- Webpack - Module bundler
- Babel - JavaScript transpiler
This project is licensed under the MIT License - see the LICENSE.md file for details