We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When adding the cdn link, documented here, my astro site has this CORS error:
This is solved by adding a type="text/javascript" attribute to the cdn link:
type="text/javascript"
<script type="text/javascript" src="https://cdn.tailwindcss.com"></script>
So I think the docs should just include it? This happens on latest chrome, linux.
Now I have no idea why do you need to include this attribute. Maybe this is a cdn issue?
The text was updated successfully, but these errors were encountered:
Hey!
This works in most projects as-is, so I don't think this is something we should add to the docs. But it's good that this solution works for you!
That said, in v4, we don't have a cdn anymore, and we rely on tools such as unpkg.com instead see more info: https://tailwindcss.com/docs/installation/play-cdn
Hope this helps!
Sorry, something went wrong.
No branches or pull requests
When adding the cdn link, documented here, my astro site has this CORS error:
This is solved by adding a
type="text/javascript"
attribute to the cdn link:So I think the docs should just include it? This happens on latest chrome, linux.
Now I have no idea why do you need to include this attribute. Maybe this is a cdn issue?
The text was updated successfully, but these errors were encountered: