Support the ongoing development of Laravel.io →
Configuration Requests Packages
Last updated 1 year ago.
0

It throws error because it cannot locate the file.

If you're using artisan server, then it will work. Try this:

$ php artisan serve [--host 0.0.0.0 --port 8080]

If you're using apache you'll rewrite it on .htaccess

.htaccess file

<IfModule mod_rewrite.c>
  RewriteEngine on

  RewriteRule ^assets/(.*)$ index.php/$1 [QSA,L]
</IfModule>

Got the same issue and it did work for me. :)

Last updated 1 year ago.
0

How can I add two separate assets to my application. Say, I need once set of assets for front end and another for my backend (admin panel). Is it possible?

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

jcorry jcorry Joined 10 Jun 2014

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.