jeudi 5 janvier 2017

Importing existing laravel project couldn't find CSS files

I'm a beginner to laravel. I had a laravel project, in which I have to fix some CSS. I have installed laravel 5.2 successfully and started laravel development server. But when I visit the site, it can't find any of the CSS, Image or JS file.

Failed to load resource: http://ift.tt/2iegFhp

However if I just remove public/, to make URL like this by editing page source in browser, it works fine.

http://ift.tt/2jdoeZL

Also, if I open the site without using starting laravel development server, it can find all resources but the URL routing doesn't work. Then it couldn't find the web pages except the home page.

I know this project runs perfectly on hosting server, but I can't set it up on my local machine.

I'm using Windows and WAMP Server. Please help me to setup the project.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2jdtPiI
via IFTTT

Aucun commentaire:

Enregistrer un commentaire