Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 946 Bytes

File metadata and controls

32 lines (18 loc) · 946 Bytes

React Boilerplate for Second Project on YouTube

https://www.youtube.com/watch?v=1iAG6h9ff5s&list=PLoYCgNOIyGABj2GQSlDRjgvXtqfDxKm5b&index=6

A basic React Project setup using webpack.

It compiles scss into css and ES6 into ES5.

Credit to Will Stern

Installation

Download the repository to your computer and follow the usage guide below.

Usage

Get a react environment set up quickly with this boilerplate.

It includes all the modules you need. All you need to do is download the project, unzip it, run node and start building. First install everything then run the webpack dev server

npm install
npm run dev

This will get your app running on http://localhost:8080

Webpack will watch for changes and update the browser when a file is changed.

Use src/js/client.js to import your modules into. This compiles to src/client.min.js, and is loaded into index.html.