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"