[Vuejs]-Passing response header in Vuetable api-mode

0๐Ÿ‘

โœ…

I have found the answer from this thread in github.

<vuetable :http-options="httpOptions" ...

and in JS

export default {
    data() {
        return {
            httpOptions: { headers: { Authorization: 'Bearer ' + TOKEN } },
            ...

Leave a comment