title: Add path ruby on rails in vuejs
body: <p>i'm new in vuejs and ruby on rails, i have to add this path</p>
  <pre><code>&lt;%=profile_path(@profile)%&gt;
  </code></pre>
  <p>I made a link with the full name of the user and when he clicks his name he must send me to his profile:</p>
  <pre class="lang-html prettyprint-override"><code>                 &lt;a
                        v-for=&quot;(link, key_l) in links&quot;
                        :key=&quot;key_l&quot;
                        :href=&quot;link.href&quot;
                        :target=&quot;link.target&quot;
                   &gt;
                        {{ teammate.profile.name }}
                        {{ teammate.profile.last_name }}
                   &lt;/a&gt;
  </code></pre>
  <pre class="lang-js prettyprint-override"><code> data: () =&gt; {
      return {
        links: [{ href: &quot;&lt;%=profile_path(@profile)%&gt;&quot;, target: &quot;_blank&quot; }],
      };
    },
  </code></pre>
  <p>but the path is in ruby on rails, how can I add it in vuejs ?</p>