Support the ongoing development of Laravel.io →
posted 8 years ago
Views
Last updated 2 years ago.
0

Maybe I could do thread titles better but I just learned how to include code with the code tag. Working on it!

Last updated 8 years ago.
0

Anything you are linking to will need to be public accessible (e.g. in your "public" folder, so if you put it in "public/css" you link would be

<link rel="stylesheet" href="/css/bootstrap-3.3.6-dist/css/bootstrap.min.css">

The resources directory shouldn't be accessible over http - you would usually put css in there if you were generating your CSS using something like elixir:

https://laravel.com/docs/5.2/elixir

0

Thanks!

"/" means the public directory not some directory in resources. I think I heard somwhere T.Otwell say for php architect that all css, less and sass should be in the resource directory, but this actually makes more sense. The folder public and all its underlying folders has that .htaccess property (Options) that allows "everyone" access

0

Sign in to participate in this thread!

Eventy

Your banner here too?

muppbarn muppbarn Joined 29 Mar 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.