I am trying to output a very basic program which says 'hello world'
My web.php
<? php
Route::get('/',function() {
return view('welcome');
});
My welcome.blade.php
file
{{ 'Hello World' }}
The welcome.blade.php
is inside the views folder, but when I give localhost/laravel/public/
I am getting an error stating "The page you're looking for cannot be found"
Please Help me out.