It has to be something with your WAMP configuration. I don't use WAMP so I can't tell you what but it has to be the culprit.
Since you are loading laravel project using the URL http://localhost/MyLaravelProject/Public/index.php my guess would be that it's not finding your assets correctly. You should be serving your site from the public directory and your not.
I am actually serving my project from the public directory; I have other projects working fine in this directory.
And I followed the files in the project pointed out by the bootstrap files; it's finding the assets correctly.
@codenex & @Snapey
I am sorry, I didn't mean the MyLaravelProject/public; what I meant was the wamp public folder.. My bad
@RonB1985
Thank you for the help; I actually found out that it's trying to read from /css/app.css but what it is supposed to do, is read from ../css/app.css.
Funny thing because when i run php artisan serve and use the given url... it works !!
Funny thing because when i run php artisan serve and use the given url... it works !!
because when you run php artisan serve, the public folder is served as the document root (and I mean the Laravel public folder)
So anything that starts with / will be grounded in that public folder whereas when you use WAMP, when you start with / you are saying that the CSS folder is in the wamp public directory.
your ../ccs/app.css works then the url is like /posts but will break when your url is /posts/1/edit because then it will look for css in /posts/1/css
Fix the document root and everything else will fall into place.
@Snapey
how can I listen when you are writing...:D ?
I am new to this forum, bear with me a bit my friend. I appreciate your answers and they were helpful in so many ways. I learned from them about the difference in the directories serving and how php artisan serve really works.