2 months ago by Michael Meyer

Relates to the lesson Learn Slim 3

Hi guys i watched the cart videos to see the DI Bridge integration into slim 3. However my question now is how do i get my own styles and js linked to the default page.


// I HAVE THIS CODE IN MY DEFAULT TEMP 
<link rel="stylesheet" href="{{ base_url() }}/public/css/main.css">


however im getting a

slimdi/:8 GET http://slimdi/public/css/main.css net::ERR_ABORTED

error in the console area...

2 months ago by Michael Meyer

Nvm the link was incorrect the public should not be there as its already in the public folder -.-

Sign in or create an account to reply to this topic.