so I am Laravel newbie. Basically, what I am trying to do is to view the "hello world" message when loading the Laravel default landing page. I have the following,
Route::get('/', function () {
echo"hello world";
return view('welcome');
});
But "hello world" is not showing up in the terminal. Is that even the proper use of echo
in Laravel? Help will be appreciated.
Thanks