when I open "http://localhost/app/public/" the default laravel home page works perfectly which is a welcome page where in the routes file there is this:
Route::get('/', function () {
return view('welcome');
});
but I'm learning so I just changed the "welcome" to "home" and created a new file resources/views/home.blade.php with the following simple code:
<?php
echo 'hello world of laravel';
?>
but when I open "http://localhost/app/public/"
it shows a blank page.
what am i missing?
You should setup your web server so it point to public
directory and then access the app through http://localhost/