variants.html.twig template for automatic rendering of all permutations of a component.becklyn/rad.gluggy_dummy().standalone check the dependency calculation does not longer fail.gluggi_dummy() for dummy content. Currently supported is only gluggi_dummy("content").src/.add_assets and override_assets (see docs for details)strict_variables in twig for testing.AssetsBundle versionSee the docs for the configuration keys info_action, title and data for details.
See the docs for details:
Embedding other views
You can also embed other components in the current component, to extend and change some block vcontents. Use the
gluggi_template(type, name)in theembedtag.{% embed gluggi_template("atom", "example") with {a: 1, b: 2} %} {% block some_block %} More content. {% endblock %} {% endembed %}The function has two parameters:
gluggi_template(type, name)
Argument Type Description typestringthe type of the component, like "atom","molecule", etc..namestringthe name of the component (the filename with extension)
This is just an overview, for full details please read the docs.
raw in favor of standalonecomposer.jsonpage view doesn't show the gluggi wrappers anymore (they are shown in isolation)See README for details:
app/config.yml:
gluggi:
css:
- "app.css"
js:
- "app.js"
To load these files on all gluggi preview requests.
How can I help you explore Laravel packages today?