Skip to content

Instantly share code, notes, and snippets.

@fupslot
Created April 11, 2022 10:09
Show Gist options
  • Save fupslot/3bb770e924a952b6554c2cd2f0d28548 to your computer and use it in GitHub Desktop.
Save fupslot/3bb770e924a952b6554c2cd2f0d28548 to your computer and use it in GitHub Desktop.
React + TailwindCSS + Vite.js
## React Setup with Vitejs
## To setup a react project is rather easy, simply pick the directory you want to store your projectn,
## open up a terminal there and run the following commands
npm init @vitejs/app vite-app --template react
or
npm init @vitejs/app vite-app --template vanilla
npm install
npm install -D tailwindcss@latest postcss@latest autoprefixer@latest
npx tailwindcss init -p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment