V4 version, CDN plugin not available #20073
Replies: 2 comments
-
|
The CDN version is a static file, not a dynamic server so there is no way to load the plugins via query params. Setup a proper build instead: https://tailwindcss.com/docs/installation |
Beta Was this translation helpful? Give feedback.
-
|
The CDN browser build ( The What the CDN build supports:
What it does NOT support:
If you need plugins, you need a proper build setup: npm install tailwindcss @tailwindcss/typography @tailwindcss/postcss/* main.css */
@import "tailwindcss";
@plugin "@tailwindcss/typography";The CDN is meant for quick prototyping without plugins. For anything beyond basic utilities, use the CLI or PostCSS build. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
for example this plugin wont work:
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4?plugins=typography"></script>in play.tailwindcss.com it works. but in reality it doesnt work.
Beta Was this translation helpful? Give feedback.
All reactions