Adds Tailwind CSS to an existing Vite application, or creates one if it doesn't exist in the current directory.
npx use-preset tailwindcss
This preset adds Tailwind CSS to an existing Vite application, or creates one if it doesn't exist in the current directory. To use this preset, run the command above in the directory of your choice. For more information about use-preset
, please refer to the documentation.
Vite is an opinionated web devevelopment build tool that serves your code via native ES Module imports during development, and bundles it with Rollup for production.
Tailwind CSS is a highly customizable, low-level CSS framework that gives you all of the building blocks you need to build bespoke designs without any annoying opinionated styles you have to fight to override.