Tailwind CSS インストール

解説

ターミナル
npm install -D tailwindcss postcss autoprefixer npx tailwindcss init -p
tailwind.config.js
module.exports = { content: [ "./pages/**/*.{js,ts,jsx,tsx}", "./components/**/*.{js,ts,jsx,tsx}", ], theme: { extend: {}, }, plugins: [], }
global.css
@tailwind base; @tailwind components; @tailwind utilities;

使用ライブラリ

なし

参考サイト

なし