bolt / project

🚀 Repo to `composer create project` a Bolt 5 project.
MIT License
39 stars 38 forks source link

Enable twig namespace 'theme' by default in order to easily use custo… #37

Closed iamgoodbytes closed 3 years ago

iamgoodbytes commented 3 years ago

Enable twig namespace theme by default in order to use this to overwrite templates more easily out of the box with bolt/forms.

This PR is linked to https://github.com/bolt/forms/pull/18 in bolt/forms

cc @I-Valchev

bobdenotter commented 3 years ago

This actually breaks the installation process:

Run composer recipes at any time to see the status of your Symfony recipes.
Executing script cache:clear --no-warmup [KO]
 [KO]
Script cache:clear --no-warmup returned with error code 1
!!
!!  In FilesystemLoader.php line 92:
!!
!!    The "/Users/bob/Sites/Bolt/myprojectname/public/theme/base-2021" directory
!!    does not exist ("/Users/bob/Sites/Bolt/myprojectname/public/theme/base-2021
!!    ").
!!

I'll see if i can workaround it.

bobdenotter commented 3 years ago

I had to revert this for now, because it broke the installation process: https://github.com/bolt/project/commit/2b91bbafa3c0d278d04a3d60281ac7ee05cd06b2

Let's see if we can find a better solution for this, @I-Valchev