426 B
426 B
npm create vite@latest frontend -- --template vue
npm install -D tailwindcss@latest postcss@latest autoprefixer@latest
npx tailwindcss init -p
//tailwind.config.js
/** @type {import('tailwindcss').Config} / export default { content: [ "./index.html", "./src/**/.{vue,js,ts,jsx,tsx}", ], theme: { extend: {}, }, plugins: [], }
//style.css
@tailwind base; @tailwind components; @tailwind utilities;