What is the correct way to add bootstrap to a symfony app?

后端 未结 6 626
灰色年华
灰色年华 2021-02-13 13:48

I\'m using symfony framework 3 to develop a web application. I need to add boostrap\'s functionality to my application. I installed bootstrap using the below command. (I\'m usin

6条回答
  •  一个人的身影
    2021-02-13 14:18

    It looks like that this no longer works in Symfony3.

    In Symfony3 the following should work:

    twig:
        form_themes: ['bootstrap_3_layout.html.twig']
    

提交回复
热议问题