skip to Main Content

I’m pretty new to laravel. I have done a fresh laravel 9 installation, configured the database and ran migration. I also installed Laravel breeze as shown in Laravel [documentation][1]

I ran all the commands below.

composer require laravel/breeze --dev
php artisan breeze:install
php artisan migrate
npm install
npm run dev

They all ran successfully without any error.
However, if I serve the page in my browser, it shows the Laravel default welcome page without any Login or Register link in the top right corner. If I try typing the URL manually and hit enter, it shows 404 error

The URL I normally run is http://localhost:8000 which loads up the laravel welcome page,then if i try http://localhost:8000/login or http://localhost:8000/register it shows a 404 error*
[1]: https://laravel.com/docs/9.x/starter-kits#laravel-breeze-installation

2

Answers


  1. Tru to Run npm run dev or npm build

    Login or Signup to reply.
  2. Try to run the route:cache command to clear your route cache:

    php artisan route:cache
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search