0👍
You can’t do it this way. But you can use Ziggy which allows you to use route()
function in vue like you are using it in laravel.
https://github.com/tightenco/ziggy
Then in your vue component you can call route('article', {id: article.id})
- [Vuejs]-EventBue in Vue.js on dynamic elements $off removes for all reused components and not one
- [Vuejs]-Vue quickest way to disable and remove value from checkboxes
0👍
You can try this
<a href="{{ route('article', ['id':'article.id']) }}">Article</a>
Source:stackexchange.com