I have a fresh installation of laravel 5.3,I am getting this error everytime i use a route. "NotFoundHttpException in RouteCollection.php line 161" in ......
I used php artisan make:auth and created logins and register.But still didn't work (in laravel 5.3).
After that I updated xampp to the latest version and also installed laravel 5.4, Now i am getting the same error message with a different line,"179"
Here is my route file
Route::get('/', function () {
return view('welcome');
});
Route::get('/chat', function () {
return view('chat');
});
I have a view in view/chat.blade.php
--------+----------+----------+------+---------+--------------+
| Domain | Method | URI | Name | Action | Middleware |
+--------+----------+----------+------+---------+--------------+
| | GET|HEAD | / | | Closure | web |
| | GET|HEAD | api/user | | Closure | api,auth:api |
| | GET|HEAD | chat | | Closure | web |
+--------+----------+----------+------+---------+--------------+
I maybe missing something. can someone please explain,Thank You