Skip to content

posva/vite-tailwind-starter

Repository files navigation

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:

  1. Install first-party plugins:
yarn add @tailwindcss/forms @tailwindcss/typography @tailwindcss/aspect-ratio
  1. 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