How to install Tailwind CSS to Vuetify

npm install --save-dev tailwindcss postcss autoprefixer && 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: [],
  prefix: "tw-",
};

src/styles/tailwind.css

@tailwind base;
@tailwind components;
@tailwind utilities;

src/plugins/vuetify.js

import "@/styles/tailwind.css";
class="tw-bg-black tw-text-white hover:-tw-skew-y-3"

How to change font family in Vuetify

For example, change default font-family Roboto to Nunito

vite.config.mjs

...
ViteFonts({
  google: {
    families: [{
      name: 'Nunito',
      styles: 'wght@200;300;400;500;600;700;800;900',
    }],
  },
}),
...

src/styles/main.scss

@use "vuetify" with (
  ...
  $body-font-family: "Nunito"
  ...
);

src/plugins/vuetify.js

- import "vuetify/styles";
+ import "@/styles/main.scss";

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