title: composer-vendor-folder-shows-up-instead-of-vendor-page-on-vendor-routes
body: <p>I have a vendor routes in my routes folder</p>
  <pre><code>Route::group(['prefix' =&gt; 'vendor', 'middleware' =&gt; ['auth:vendor']], function () {
        Route::get('/dashboard', 'Vendor\VendorController@dashboard')-&gt;name('vendor.dashboard')- 
      &gt;middleware('bannedVendor');
  
        Route::get('/logout/{id?}', 'Vendor\LoginController@logout')-&gt;name('vendor.logout');
   });
  </code></pre>
  <p>And whenever i try accessing any vendor routes on my browser my package(vendor) folder shows up instead.
  <a href="https://i.stack.imgur.com/hyIbq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hyIbq.png" alt="enter image description here" /></a>
  How can i resolve this issue?</p>