This is a sample boilerplate web-application to get started with building SPA using React JS. Most of the setup has been built out of the box. This includes:
- Webpack
- Webpack hot reload (react-hot-reload)
- ES6 support
- ES Lint
- AirBnb Style Guide
- Prettier (Code formatter)
- Flow (Static type checker)
- Sass Stylesheets
- Font and File Loaders
This project works well with Visual Studio Code. The following extensions are required to fully utilise features such as Prettier and Flow:
Simply clone the repository and install the required node modules.
$ git clone ...
$ npm install
After the dependencies has been succesfully installed. Issue the following command to run the developer environment.
$ npm run start-dev
In-case you are using yarn
then
$ yarn start-dev