basic setup with twig
This commit is contained in:
parent
b2f873d8f4
commit
008c341ceb
7 changed files with 498 additions and 4 deletions
|
@ -2,4 +2,6 @@
|
|||
|
||||
return [
|
||||
Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
|
||||
Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true],
|
||||
Twig\Extra\TwigExtraBundle\TwigExtraBundle::class => ['all' => true],
|
||||
];
|
||||
|
|
2
config/packages/test/twig.yaml
Normal file
2
config/packages/test/twig.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
twig:
|
||||
strict_variables: true
|
2
config/packages/twig.yaml
Normal file
2
config/packages/twig.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
twig:
|
||||
default_path: '%kernel.project_dir%/templates'
|
Reference in a new issue