Files
oai-symfony/typo3conf/ext/embedassets/README.md
2026-07-03 17:53:31 +02:00

35 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Embedassets
[![License](https://poser.pugx.org/t3brightside/embedassets/license)](LICENSE.txt)
[![Packagist](https://img.shields.io/packagist/v/t3brightside/embedassets.svg?style=flat)](https://packagist.org/packages/t3brightside/embedassets)
[![Downloads](https://poser.pugx.org/t3brightside/embedassets/downloads)](https://packagist.org/packages/t3brightside/embedassets)
[![Brightside](https://img.shields.io/badge/by-t3brightside.com-orange.svg?style=flat)](https://t3brightside.com)
**Fluid viewhelpers for embed and minified CSS/JS**
## System requirements
- TYPO3 Fluid
## Install
- `composer req t3brightside/embedassets` or from TYPO3 extension repository **[embedassets](https://extensions.typo3.org/extension/embedassets/)**
## Use
Add namespace and `embed="1"` as in given examples
```xml
{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
- [GitHub](https://github.com/t3brightside/embedassets)
- [Packagist](https://packagist.org/packages/t3brightside/embedassets)
- [TER](https://extensions.typo3.org/extension/embedassets/)
## Development and maintenance
[Brightside OÜ – TYPO3 development and hosting specialised web agency](https://t3brightside.com/)