Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

gabesu/react-newbie-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A React + Webpack boilerplate for newbies

Installation

Open Terminal and cd into your preffered directory and run

git clone https://github.com/gabesu/react-newbie-boilerplate.git your-project-name

cd your-project-name and the install the npm packages by running

npm install

Hurray! Now we're all setup. Now we can run:

npm start

This run your project in 'development' mode and will open up your project in your default browser with Hot Module Reload so your browser automatically refreshes once a change is made.

To build your project for production simply run:

npm run build

This should create /dist folder in your project directory containing your bundled files.

Features

  • Babel Loader
  • Sass Loader
  • Autoprefixing (PostCSS Loader)
  • Image Bundling using File Loader
  • CSS extraction with MiniCSSExtractPlugin

Thank you, and have fun creating!