title: Laravel 8: Target class does not exist
body: <p>I'm working with Laravel 8 to develop my project. And I made a controller called <code>BackendController</code> and add this <code>index()</code> method to call a blade:</p>
  <pre><code>public function index()
  {
      return view('website.backend.dashboard.index');
  }
  </code></pre>
  <p>And on <code>web.php</code> I add this route:</p>
  <pre><code>Route::get('/dashboard', 'BackendController@index');
  </code></pre>
  <p>But when I goto <code>/dashboard</code>, it says:</p>
  <p><strong>lluminate\Contracts\Container\BindingResolutionException
  Target class [BackendController] does not exist.</strong></p>
  <p>I don't know why it prints this, because the Controller already exists! So if you know how to solve it, please help me...</p>
  <p>Thanks in advance.</p>