Skip to content

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) and bundle with hashing.

Notifications You must be signed in to change notification settings

Diego-EC/dec-react-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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) and bundle with hashing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published