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
Problem
Using with_preload on CSS assets has no effect since the rel attribute is set to stylesheet instead of preload. For example
with_preload
rel
stylesheet
preload
const TAILWIND_CSS: Asset = asset!("/public/tailwind.css", CssAssetOptions::new().with_preload(true))
generates
<link rel="stylesheet" href="/assets/tailwind-627b9919aa94f0b5.css" type="text/css"/>
Steps To Reproduce
Steps to reproduce the behavior:
CssAssetOptions::new().with_preload(true)
Expected behavior
This describes how to get this working https://stackoverflow.com/questions/61889044/how-to-use-both-rel-preload-and-rel-stylesheet-for-the-same-tag
The text was updated successfully, but these errors were encountered:
ealmloff
Successfully merging a pull request may close this issue.
Problem
Using
with_preload
on CSS assets has no effect since therel
attribute is set tostylesheet
instead ofpreload
. For examplegenerates
Steps To Reproduce
Steps to reproduce the behavior:
CssAssetOptions::new().with_preload(true)
on a CSS assetExpected behavior
This describes how to get this working https://stackoverflow.com/questions/61889044/how-to-use-both-rel-preload-and-rel-stylesheet-for-the-same-tag
The text was updated successfully, but these errors were encountered: