Skip to content

junagao/minimal-react-webpack-babel-eslint-prettier-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimal React Webpack Babel ESLint Prettier Setup

This is a minimal setup for a React project running with Webpack, ESLint (airbnb) & Prettier.

🧐 What's inside?

  • React 17
  • Webpack 5
  • Babel 7
  • Hot Module Replacement
  • ESLint (airbnb styleguide)
  • Prettier

🚀 Quick start

  1. Download the project and cd into it:

    git clone https://github.com/junagao/minimal-react-webpack-babel-eslint-prettier-setup.git
    cd minimal-react-webpack-babel-eslint-prettier-setup
  2. Install dependencies and run the application:

    yarn
    yarn dev
  3. Open your browser and navigate to:

    http://localhost:8080/