skip to Main Content

CakePHP 3.4 load jQuery to layout – Twitter bootstrap

I started using libraries like jQuery or Twitter Bootstrap with composer. Now I want to load the jquery.min.js from /vendor/components/jquery/ into my /src/Template/Layout/default.ctp. How can I do that? Because using a normal uri doesn't work: <script type="text/javascript" src="/vendor/components/jquery/jquery.min.js"></script> Cake doesn't…

VIEW QUESTION
Back To Top
Search