Answer the question
In order to leave comments, you need to log in
Thrown with message “View [markets.index] not found.”?
I am using Laravel 5.5 and I am a beginner. After starting my server - I get an error in the browser like this
throw new InvalidArgumentException("View [$name] not found."); - View [markets.index] not found.
<!doctype html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Market</title>
</head>
<body>
<ul>
<?php
@foreach ($markets as $market)
<li>
<a href = "{{ route('markets.show', $market) }}">
{{$market->name}}
</a>
</li>
@endforeach
?>
</ul>
</body>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question