Can you explain your question about what exactly your problem is?
tvbeek, sujitkhanagale, guilhermecostam liked this reply
You just need to write asset('css/main.css'); with your file link example with css file <link href=" {{ asset('css/main.css') }} "> </link>
sujitkhanagale liked this reply
i mean, when i started a laravel project in wamp server its showing "localhost/public/welcome" i want to make this like "localhost/welcome".
Do you want to create a virtual domain for your project on your local machine?
sujitkhanagale liked this reply
thank you to understand me. i got a way to fix this issue. i just created a .htaccess file and added the public folder path as a root folder, <code> RewriteEngine on RewriteCond %{REQUEST_URI} !^public RewriteRule ^(.*)$ public/$1 [L] <code> and boom its working... thank you all again
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community