tailwindcss-cdn
v3.4.10
Published
Leverage CDN network jsdelivr/unpkg to provide fast access for TailwindCSS static files. (TailwindCSS's official Play CDN is slow and not proxied in China)
Downloads
7,714
Readme
tailwindcss-cdn
Leverage CDN network jsdelivr/unpkg to provide fast access for TailwindCSS static files. (TailwindCSS's official Play CDN is slow and not proxied in China)
Usage
Without plugins:
<!-- Replace the official CDN link -->
<script src="https://cdn.tailwindcss.com"></script>
<!-- with UNPKG CDN (option 1) -->
<script src="https://unpkg.com/[email protected]/tailwindcss.js"></script>
<!-- or with jsDelivr CDN (option 2) -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/tailwindcss.js"></script>
<!-- or with Taobao npmmirror (option 3, for China users) -->
<script src="https://registry.npmmirror.com/tailwindcss-cdn/3.4.10/files/tailwindcss.js"></script>
With plugins:
<!-- forms -->
<script src="https://unpkg.com/[email protected]/tailwindcss-with-forms.js"></script>
<!-- typography -->
<script src="https://unpkg.com/[email protected]/tailwindcss-with-typography.js"></script>
<!-- aspect-ratio -->
<script src="https://unpkg.com/[email protected]/tailwindcss-with-aspect-ratio.js"></script>
<!-- container-queries -->
<script src="https://unpkg.com/[email protected]/tailwindcss-with-container-queries.js"></script>
<!-- all in one -->
<script src="https://unpkg.com/[email protected]/tailwindcss-with-all-plugins.js"></script>
Contribute
Send email to me if it is not updated. My email (encoded): Zm9uZG9nZXJAb3V0bG9vay5jb20=