A Tailwind CSS starter template for Vite
If you have access to Tailwind UI, follow these steps to add it:
- Install first-party plugins:
yarn add @tailwindcss/forms @tailwindcss/typography @tailwindcss/aspect-ratio
- Add the plugins to
tailwind.config.js
:
// tailwind.config.js
module.exports = {
// ...
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
require('@tailwindcss/aspect-ratio'),
],
}
yarn
yarn dev
yarn build