title: Laravel and Vue-Router : How to add slash at the end of the URL
body: <p>I'm using Vue-Router, in a Laravel/VueJs application. Vue Router is used in hash mode, so I expect this kind of URL: </p>
  
  <p><a href="http://base/#/action" rel="nofollow noreferrer">http://base/#/action</a></p>
  
  <p><a href="http://base/asset/#/action" rel="nofollow noreferrer">http://base/asset/#/action</a></p>
  
  <p>It currently works if I reach the base url. But as soon as I use another URL, the slash before the hash is removed and the url looks like that : <a href="http://base/asset#/action" rel="nofollow noreferrer">http://base/asset#/action</a></p>
  
  <p>Here are my routes in laravel: </p>
  
  <pre><code>Route::get('/', 'HomeController@index')-&gt;name('home');
  Route::get('/asset', 'AssetController@index');
  </code></pre>
  
  <p>I already try to change my route to /asset/ but it didn't fix.
  I also try to change this part of the .htaccess but no luck</p>
  
  <pre><code># Redirect Trailing Slashes If Not A Folder...
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)/$ /$1 [L,R=301]
  </code></pre>
  
  <p>So my question is: Why is this working with the base URL, and not with others ? Is this some sort of URL rewriting rules in Laravel ? or in Vue-Router ? </p>
  
  <p>Romain.</p>