aliaset
Version:
twind monorepo
12 lines (7 loc) • 810 B
Markdown
# Example: Twind CDN
> Try it live at [Stackblitz](https://stackblitz.com/fork/github/tw-in-js/twind/tree/main/examples/using-twind-cdn) or [Codesandbox](https://githubbox.com/tw-in-js/twind/tree/main/examples/using-twind-cdn).
Twind CDN is a drop-in replacement for [Tailwind CSS Play CDN](https://tailwindcss.com/docs/installation/play-cdn) that is almost 5.5 times smaller (104kb vs 17kB) without any build step right in the browser or any other environment like Node.js, deno, workers, ...
This example uses
- [@twind/cdn](https://github.com/tw-in-js/twind/tree/main/packages/cdn) — which includes
- [@twind/preset-autoprefix](https://github.com/tw-in-js/twind/tree/main/packages/preset-autoprefix)
- [@twind/preset-tailwind](https://github.com/tw-in-js/twind/tree/main/packages/preset-tailwind)