Route::get('/', function () {
    return view('welcome');
});
get
- type of HTTP request
/
- stands for the homepage
welcome
- view file located at
resources/views/welcome.blade.php
The route will return
welcome
view file content
by Valeri Tandilashvili
4 years ago
Laravel
routes
Laravel From Scratch
0
Pro tip: use ```triple backticks around text``` to write in code fences