marufalom
161
1
Vue

Vuejs in laravel controller

Posted 9 months 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>';
            })

@click="selectSingleOrder(order)

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

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

Reply to

Use Markdown with GitHub-flavored code blocks.