Home  >  Article  >  Backend Development  >  How to parse the value of vueJs in laravel blade

How to parse the value of vueJs in laravel blade

WBOY
WBOYOriginal
2016-12-01 00:25:181445browse

<code>
<a class="commented-user">{{\App\User::find(10)->name}}</a>
</code>

If 10 is like this, I think it is through a method like @{{ user.id }} (@{{user.id}}The parsed result is 10)
And how to parse this in the laravel blade template

Reply content:

<code>
<a class="commented-user">{{\App\User::find(10)->name}}</a>
</code>

If 10 is like this, I think it is through a method like @{{ user.id }} (@{{user.id}}It is 10 when parsed)
And how to parse this in the laravel blade template

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn