Download the PHP package m2-boilerplate/module-link-preload without Composer
On this page you can find all versions of the php package m2-boilerplate/module-link-preload. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download m2-boilerplate/module-link-preload
More information about m2-boilerplate/module-link-preload
Files in m2-boilerplate/module-link-preload
Download m2-boilerplate/module-link-preload
More information about m2-boilerplate/module-link-preload
Files in m2-boilerplate/module-link-preload
Vendor m2-boilerplate
Package module-link-preload
Short Description Magento 2 module that allows loading of assets with the preload attribute
License MIT
Package module-link-preload
Short Description Magento 2 module that allows loading of assets with the preload attribute
License MIT
Please rate this library. Is it a good library?
Informations about the package module-link-preload
Module Link Preload
A Simple module that allows pre-loading of assets (css, fonts, scripts, etc...) loading in Magento 2
Installation
- Go to your Magento root directory
- Run
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 three variables that will be substituted: :path:
, which will be replaced by the asset path, :as:
which will be replaced by the asset type and :attributes:
that will contain your attributes
of your assets
as HTML attributes.
All versions of module-link-preload with dependencies
PHP Build Version
Package Version
Requires
magento/framework Version
*
The package m2-boilerplate/module-link-preload contains the following files
Loading the files please wait ....