Download the PHP package meanbee/magento2-csspreload without Composer
On this page you can find all versions of the php package meanbee/magento2-csspreload. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download meanbee/magento2-csspreload
More information about meanbee/magento2-csspreload
Files in meanbee/magento2-csspreload
Download meanbee/magento2-csspreload
More information about meanbee/magento2-csspreload
Files in meanbee/magento2-csspreload
Vendor meanbee
Package magento2-csspreload
Short Description Magento 2 module that allows loading of stylesheets with the preload attribute
License MIT
Package magento2-csspreload
Short Description Magento 2 module that allows loading of stylesheets with the preload attribute
License MIT
Please rate this library. Is it a good library?
Informations about the package magento2-csspreload
Magento 2 CSS Preload
Simple module that allows for asynchronous CSS loading in Magento 2
Installation
- Go to your Magento root directory
- Run
Development
Setting up a development environment
A Docker development environment is included with the project:
Usage
To add assets to the block, provide the assets
argument:
To modify the template of the generated <link />
tags, provide a link_template
argument, e.g.:
There are two variables that will be substituted: :path:
, which will be replaced by the asset path, and :attributes:
that will contain your attributes
of your assets
as HTML attributes.
All versions of magento2-csspreload with dependencies
PHP Build Version
Package Version
The package meanbee/magento2-csspreload contains the following files
Loading the files please wait ....