phpero1234
phpero1234

Reputation: 41

Laravel - 404 in all static files

In all the static files (css and js) Apache return 404. Then my Laravel looks like this: enter image description here

I tri too with the command:

php artisan serve

and the result is the same.

I using PHP 7.2 and Laravel 6.0.4

Upvotes: 1

Views: 413

Answers (1)

Rashed Hasan
Rashed Hasan

Reputation: 3751

After installation of fresh laravel 6 follow these steps-

  1. composer require laravel/ui
  2. php artisan ui vue --auth
  3. npm install
  4. npm run dev
  5. php artisan serve

Authentication support is now added with the help of a package. Please read for more details.

Upvotes: 1

Related Questions