t3brightside/embedassets

Fluid viewhelpers for embed and minified CSS/JS

Installs: 18 551

Dependents: 9

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:typo3-cms-extension

1.3.0 2024-02-07 20:19 UTC

This package is auto-updated.

Last update: 2024-12-07 22:09:22 UTC


README

License Packagist Downloads Brightside

Fluid viewhelpers for embed and minified CSS/JS

System requirements

  • TYPO3 Fluid

Install

  • composer req t3brightside/embedassets or from TYPO3 extension repository embedassets

Use

Add namespace and embed="1" as in given examples

{namespace ea=Brightside\Embedassets\ViewHelpers}
<ea:asset.css embed="1" priority="1" identifier="myindentifier" href="EXT:myextension/Resources/Public/Css/myfile.css" />
<ea:asset.script embed="1" identifier="myindentifier" src="EXT:myextension/Resources/Public/JavaScript/myfile.js" />

Sources

Development and maintenance

Brightside OÜ – TYPO3 development and hosting specialised web agency