chopfitzroy / vite-react-tailwind-starter

Starter using Vite + React + Tailwind

Home Page:https://vite-react-tailwind.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vite + React + Tailwind CSS starter

Inspired by posva's vite-tailwind-starter

Note if you have access to Tailwind UI, you can follow the following steps to add it:

  1. Install @tailwindcss/ui:
yarn add @tailwindcss/ui
  1. Add the plugin in tailwind.config.js without changing anything else:
// tailwind.config.js
module.exports = {
  // ...
  // rest of the config
  plugins: [require('@tailwindcss/ui')],
}

Installation

yarn

Development

yarn dev

Build

yarn build

TypeScript Support

Head over to the vite react-ts template and just copy the needed files.

About

Starter using Vite + React + Tailwind

https://vite-react-tailwind.vercel.app/


Languages

Language:JavaScript 96.5%Language:HTML 2.8%Language:CSS 0.6%