How to refer laravel csrf field inside a vue template : <p>I have a vue template that contains a form:</p>

<pre><code>&lt;form id="logout-form" :action="href" method="POST" style="display: none;"&gt;
        {{ csrf_field() }}
&lt;/form&gt;
</code></pre>

<p>In laravel, forms must have a csrf_field() defined. But within a vue component, the statement <code>{{ csrf_field() }}</code> means that I have a method named <code>csrf_field</code> in my vue instance and I am calling it.</p>

<p>How do I add csrf_field under this circumstance?</p>
