I published my React 17 Boilerplate (with Webpack 5, Tailwind 2)

I published my React 17 Boilerplate (with Webpack 5, Tailwind 2)

I published my first React Boilerplate with React 17, TailwindCSS 2, Webpack 5, dotenv, using babel, SASS, with a HMR/hot dev server and an optimized production build. Any feedback is welcome :-)

Updated (newest first):

  • added dotenv-webpack to handle process.env.VARS
  • added Prettier
  • added react-refresh-webpack-plugin for HMR
  • 2 PR's accepted

Github repo

Installation

git clone https://github.com/altafino/react-webpack-5-tailwind-2.git
cd react-webpack-5-tailwind-2
yarn / npm i

Usage

Development server

yarn start / npm start

You can view the development server at localhost:3000. (change port in ./config/webpack.dev.js)

Production build

 yarn build / npm run build

Features

Dependencies

webpack

Babel

Loaders

Eslint

Plugins