How to pass a vue.js value as a parameter to a route in blade

前端 未结 1 1806
既然无缘
既然无缘 2020-12-10 16:58

I have a route in Laravel that requires an id as a parameter.

Route::get(\'/example/{id}\', ExampleController@index)

If I had passed the d

1条回答
  •  不思量自难忘°
    2020-12-10 17:47

    You can just use v-bind for this, like following:

    Click
    

    0 讨论(0)
提交回复
热议问题