1 year ago

Vuejs in laravel controller

Posted 1 year ago by marufalom

I am using a laravel datatables package. Where I have displayed all the data underneath a block. Here is my controller where I want to fire an vuejs click event from the controller

    addColumn('action', function ($row) {
                return '<a @click="selectSingleOrder(order);" class="btn btn-sm btn-info"
                   data-toggle="modal" data-original-title="View this master LC Data">View</a>';


Probably this is a stupid way of doing things. Help me

Please sign in or create an account to participate in this conversation.