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
https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/css-topics/css-themes.html
Please add an example of how to add css with preload in the head section. Currently we can add scripts or stylesheets with the classic way of
<script src="Vendor_Module::path_to.js" defer="true" /> <css src="Vendor_Module::path_to.css"/>
But there's no clear way to add preloaded css
So how would we be able to do something like this?
It should give a clear example of adding a css and a js file using rel="preload"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is there an existing issue for this?
What's missing?
Topic Link
https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/css-topics/css-themes.html
Description
Please add an example of how to add css with preload in the head section.
Currently we can add scripts or stylesheets with the classic way of
But there's no clear way to add preloaded css
So how would we be able to do something like this?
<title>JS and CSS preload example</title>bouncing balls
<script src="main.js" defer></script>Possible solutions
It should give a clear example of adding a css and a js file using rel="preload"
Additional information
The text was updated successfully, but these errors were encountered: