title: How to use symfony routing with vuejs?
body: <p>I am new with VueJS and I want to use it with my Symfony plateform.
  I am wondering how I can add a VueJs Variable inside a twig variable.</p>
  
  <p>Here is my example :</p>
  
  <pre><code>&lt;div v-for="competition in Vcompetitions"&gt;
       &lt;div class="thumbnail"&gt;
         &lt;a v-bind:href="XXX"&gt;
           &lt;img v-bind:src="competition.src"&gt;
         &lt;/a&gt;
       &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Consider the desired twig path is: <code>{{ path('name', {'id' : THEID })}}</code>,and the VueJs variable is <code>competition.id</code>
  I don't know what to do on <strong>XXX</strong>.</p>
  
  <p>Thanks for your help</p>