Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save indraAsLesmana/3ec81b8da74f63e2edcc4b4072a4ab4a to your computer and use it in GitHub Desktop.
Save indraAsLesmana/3ec81b8da74f63e2edcc4b4072a4ab4a to your computer and use it in GitHub Desktop.

Init project vitejs

react typescript

npm create vite@latest Then follow the prompts!

tailwindcss + vite: https://tailwindcss.com/docs/guides/vite

npm install -D tailwindcss postcss autoprefixer npx tailwindcss init -p

/** @type {import('tailwindcss').Config} / export default { content: [ "./index.html", "./src/**/.{js,ts,jsx,tsx}", ], theme: { extend: {}, }, plugins: [], }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment