Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #388

    I see this is Laravel breeze welcome.blade.php

    @if (Route::has(‘login’))
    <div class=”sm:fixed sm:top-0 sm:right-0 p-6 text-right”>
    Log in

    @if (Route::has(‘register’))

    • This topic was modified 1 year, 2 months ago by jacob_smith.

    Basically checks if there is a route named login and register. When you install Laravel Breeze or Jetstream, those routes are created by default.

    Its an added protection so that Laravel will not throw an error if those route becomes not available for whatever reason.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.