will customize FOSUserBundle in symfony 4

0

hello I hope you can help me, we have always used this bundle FOSUserBundle in symfony 2 now that we are passing everything to symfony 4 we can not customize the forms, I can get styles by adding <link rel="stylesheet" href="{{ asset('build/app.css') }}"> in layout located in vendor\friendsofsymfony\Resources\views but I do not think it is the most optimal way. Greetings and thanks for your time

    
asked by Gilberto Asuaje 04.08.2018 в 00:03
source

1 answer

1

is not the most optimal way to do it, it is better to overriding the templates and these are located in the folder templates / bundles / FOSUserBundle / {folders}

This way you can modify everything and do not lose it in future bundle updates.

Greetings,

    
answered by 13.08.2018 / 04:52
source