Scaffold a new project with Vite and Tailwind CSS preconfigured with ease.
Most existing Vite + Tailwind starters are aimed to work with a JS framework, e.g Vue or React. An important difference of this starter template is that the build stage does not involve any JavaScript, just pure HTML/CSS compilation.
- When you need to develop a pure HTML/CSS prototype.
- When you import a standalone version of a JS framework right from HTML.
npx degit kometolabs/vite-tailwind-nojs-starter my-tailwind-app
cd my-tailwind-app
pnpm i || yarn || npm i
pnpm run dev || yarn dev || npm run dev
Happy coding!