webpack-react-tailwind Tailwind Templates

Webpack React Tailwind

a react-boilerplate for website

Webpack Boilerplate (React + Tailwind CSS Edition)

Features

  • Support of React library
  • React Refresh (Dev mode)
  • Tailwind CSS support
  • SASS/SCSS preprocessor support
  • PostCSS preprocessor
    • Autoprefixer
  • Babel transpiller
  • Source-maps for CSS and JS files (Dev mode)
  • Minification of HTML/CSS/JS files (Prod mode)
  • Optimization of images with Squoosh (Prod mode)
    • Images can be converted to WEBP format (Prod mode)
  • SVGR converts SVG into React components and inserts them as inline SVG into HTML.
  • ESlint and Stylelint
  • Prettier

Scripts

To install dependencies:

yarn install

Start development mode:

yarn run start

Create production build:

yarn run build

Lint code:

yarn run lint

Prettify code:

yarn run prettify

Top categories

Loading Svelte Themes