Skip to content

Need the possibility to load CSS asynchronously #2194

@dmitrii-fediuk

Description

@dmitrii-fediuk

The decision whether a JavaScript component need be shown could be made when the layout is already built, so the component is unable to add its CSS resources by the standard way (\Magento\Framework\View\Page\Config::addPageAsset()).
Is any standard possibility to load stylesheet asynchronously? (like require-css do).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions