Another Svelte + TailwindCSS template, but this time it doesn't suck
- Bundled with Webpack 5
@applyand friends working in svelte component's style tags,lang=postcssis not required- Same in
.pcssfiles - Hot module replacement
- Sane reload times - 350 avg ms for Tailwind in components, 250 avg ms for regular component css. Tested on Ryzen 2500u capped at 2GHz
- Uses
@tailwindcss/jitto get really good performance (thanks to WindiCSS and Girouette)
git clone https://github.com/non25/svelte-tailwind-template my-new-project
# or with degit
npx degit non25/svelte-tailwind-template my-new-project
cd my-new-project
npm install
npm run dev
npm run buildgit clone https://github.com/non25/svelte-tailwind-template my-new-project
# or with degit
npx degit non25/svelte-tailwind-template my-new-project
cd my-new-project
yarn install
yarn dev
yarn buildLet me know what's missing. This is absolute minimum that should be in any Svelte + TailwindCSS project, but it can be extended with other stuff.
MIT