#View welcome not Found

2 messages · Page 1 of 1 (latest)

tribal dragon
#

I am trying to start a Laravel project but each time I install a project I get view welcome not found, in the route its not there - I have cleared the cache files but not solving anything. Could it be the OS I moved from Ubuntu to windows

<?php

use Illuminate\Support\Facades\Route;

Route::view('/', 'home')->name('home');
Route::view('/about', 'about')->name('about');
Route::view('/contact', 'contact')->name('contact');
Route::view('/faqs', 'faqs')->name('faqs');
Route::view('/privacy-policy', 'privacy-policy')->name('privacy-policy');
Route::view('/terms-of-service', 'terms-of-service')->name('terms-of-service');

Route::middleware(['auth', 'verified'])->group(function () {
Route::view('dashboard', 'dashboard')->name('dashboard');
});

require DIR.'/settings.php';

I ran this
php artisan route:clear
php artisan view:clear
php artisan cache:clear

Still getting the error
View [welcome] not found. PHP 8.4.0 Laravel 13.7.0 127.0.0.1:8000

when i restore the welcome page it loads though it's not referred anywhere in the route file.

#

Even when i delete everything in the welcome page it's still loading the content ??