Skip to content

A simple script to set up React, Tailwind, Webpack, Babel.

Notifications You must be signed in to change notification settings

arwildo/react-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

react-starter

A simple script to set up React, Tailwind, Webpack, Babel. In other word a React + Tailwind Boilerplate.

Requirements

  • Bash
  • Wget
  • NPM >= 8.1.0
  • NodeJS >= v16.13.0

How To Use

  1. Make a empty directory for the project and download the starter script
    wget https://raw.githubusercontent.com/arwildo/react-starter/master/start.sh
  2. Run the starter script
    bash start.sh
  3. Type the project info (title, desc, author, etc)
  4. Open package.json and change scripts to
"scripts": {
    "start": "webpack serve --mode development",
    "build": "webpack --mode production"
  },
  1. Open tailwind.config.js and change content to
content: ["./src/**/*.{html,js}"],
  1. Done
    npm start

Support

Buy Me A Coffee