Files
archived-recipes-contrib/skipthedragon/inertia-bundle/1.0/manifest.json
Tudorache Leonard Valentin 8f56f2cee9 Adding recipe for skipthedragon/inertia-bundle:1.0 (#1609)
* Adding recipe for skipthedragon/inertia-bundle:1.0

* removed class from bundles in manifest.json and not existent option from config

* remove conflict

* fix indentation
2024-04-11 09:40:16 +02:00

25 lines
692 B
JSON

{
"bundles": {
"Rompetomp\\InertiaBundle\\InertiaBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"add-lines": [
{
"file": "templates/base.html.twig",
"content": " {{ inertiaHead(page) }}",
"position": "after_target",
"target": "{% block javascripts %}",
"warn_if_missing": true
},
{
"file": "templates/base.html.twig",
"content": "\n {{ inertia(page) }}\n ",
"position": "after_target",
"target": "{% block body %}",
"warn_if_missing": true
}
]
}