Documentation/Reference/Yaml.rst
:navigation-title: Yaml Processor
.. include:: /Includes.rst.txt
.. _yaml-processor:
=========================
Vite Assets in Yaml Files
=========================
Besides ViewHelpers, the extension includes a processor for Yaml files,
which allows you to use assets generated by Vite in your configuration
files. This is especially useful for
:ref:`custom RTE presets <typo3/cms-rte-ckeditor:config-examples>`
.. code-block:: yaml
:caption: MyPreset.yaml
editor:
config:
contentsCss:
# Using the default manifest file
- "%vite('EXT:sitepackage/Resources/Private/Css/Rte.css')%"
# Using another manifest.json
- "%vite('EXT:sitepackage/Resources/Private/Css/Rte.css', 'path/to/manifest.json')%"