I'm running my first laravel app for the first after hours struggling with dependencies installation errors.
Sorry it might be tiny mistake but seems I couldn't find out.
Picture are darker, computer is being broken.
app/Http/routes.php
<?php
// view('helloworld') ==> helloworld.blade.php
Route::get('/', function () {
return view('helloworld');
});
resources/view/helloworld.blade.php
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<div class = "container">
<div class = "content">
</div>
<p> Yo test....test..</p>
</div>
</body>
</html>
when I hit http://localhost:8000/
, it gaves me (even after refreshing) :
Why doesn't '/'
get routed ? It's laravel 5, the latest one.