title: how to pass laravel route parameter to vue
body: <p>i m new to vue &amp; i does lots of google but have not found any solution which is match to my current situation so don't know how i can pass route in vue component,
  is there any way to pass this laravel route into vue template as below. my vue is location is resource/assets/js
  here is code </p>
  
  <pre><code>               &lt;template&gt;
                     &lt;a href={{route('/')}}&gt;&lt;/a&gt;//i want to pass laravel route 
                                                 //to view component this line 
                                                  //throw error
                 &lt;/template&gt;
  </code></pre>
  
  <p>route(web.php) code</p>
  
  <pre><code>        Route::get('/' , function(){
  
                   Return view('homepage');
            });
  </code></pre>
  
  <p>i want to pass this url into vue component whose location (vue) is <code>resource/assets/js</code></p>