I am trying to access a named laravel route in my Reply.vue file. What i am trying to do is pass this route as an attribute to my reply component. But while compiling i get the following error:
invalid expression: Unexpected token : in
http://tddforum.com/thread/reply/10
Raw expression: :route="http://tddforum.com/thread/reply/10"
As you can see the value of the route is correctly assigned to the :route attribute but the page wont load due to the error stated above. Here is the first line of my reply component:
<reply :attributes="{{ $reply}}" :route="{{ route('reply.update',$reply->id) }}" inline-template>
what is wrong here?
Thanks, Yeasir