cakephp how can i include bootstrap framework css style to my app?

前端 未结 2 1481
别跟我提以往
别跟我提以往 2021-01-26 16:32

Anybody has integrated cake php with bootstrap framework/css style ?

I want to be able use advantages of bootstrap in cakephp views : like btn\'s and panels bootstrap s

2条回答
  •  醉梦人生
    2021-01-26 16:54

    Download bootstrap css and js files and put them in webroot/css or webroot/js respectively.

    Then in app/View/Elements/header.ctp file add

    
    
    

    And in app/View/Elements/footer.ctp add

    
    

    Now you can access bootstrap classes in your code.

提交回复
热议问题