Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 1.02 KB

README.md

File metadata and controls

36 lines (28 loc) · 1.02 KB

DEC React Boilerplate

This template is similar to create-react-app, but I created it to understand how Webpack and Babel work.

About This Repository

This is a boilerplate for React projects with Webpack and Babel. This Boilerplate supports JavaScript, CSS and SCSS files. It also comes with the following features for a better development experience 😎:

  • live reload 📡
  • react fast refresh (without losing the components states ⚛️)
  • bundle with hashing

Quick start

You can

  • either download the boilerplate using git
$ git clone https://github.com/Diego-EC/dec-react-boilerplate.git
$ cd dec-react-boilerplate
  • or create a new proyect on your GitHub using Diego-EC/dec-react-boilerplate as a template

Start coding!

Start the webpack server with live reload:

$ npm start

Other features

  • react fast refresh
  • build with the command
    $ npm run build
    
    • Automatically create bundle files with hashing, for a better deploy experience.
  • Supports both CSS and Sass files.