+ component & twig function/filter for inject assets from manifest.json

This commit is contained in:
2022-01-09 19:09:18 +03:00
parent ae36a5cb0a
commit 829231a79f
8 changed files with 149 additions and 6 deletions

18
lang/en/lang.php Normal file
View File

@ -0,0 +1,18 @@
<?php
return [
'components' => [
'manifest' => [
'name' => 'Manifest path',
'description' => 'Accept manifest.json path',
'properties' => [
'path' => [
'title' => 'Manifest relative basepath',
'description' =>
'manifest.json path relative from basepath. Example: themes/demo/assets/build/manifest.json',
'validationMessage' => 'Incorrect manifest.json path',
]
]
]
]
];