Vite + Tailwind CSS Starter
A Tailwind CSS starter template for Vite
Tailwind UI Users
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'),
],
}
Installation
yarn
Development
yarn dev
Build
yarn build