[Vuejs]-Accessing laravel routes in vue component attribute

2👍

You are using v-bind which evaluates the value as JavaScript, but you are actually passing a string literal, so simply remove the v-bind (the colon):

<reply :attributes="{{ $reply}}" route="{{ route('reply.update',$reply->id) }}" inline-template>

If reply is also a string then you will need to do the same for that as well.

Leave a comment