How to install Vue with Tailwind CSS

npm create vite@latest project -- --template vue && cd project
npm install --save-dev tailwindcss postcss autoprefixer &&
npx tailwindcss init --postcss

tailwind.config.js

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

src/style.css

@tailwind base;
@tailwind components;
@tailwind utilities;
npm run dev -- --open