[Vuejs]-Error (@websanova/vue-auth): drivers/http/axios.js: http plugin has not been set

0👍

I could find a solution.And this can be solved using https://websanova.com/docs/vue-auth/guides/startup tutorial guides.

After installing the websanova/vue-auth plugin, There are some dependencies that must be set before the plugin is installed

Router

The Vue.router must be set which then corresponds to the router driver installed with the plugin.

HTTP

An http plugin must be set which then corresponds to the http driver installed with the plugin.

as well as config.

Git: https://github.com/websanova/vue-auth/tree/master/demos/2.x/src

I setup the application as it setup in git main.js file.

And it worked.

Leave a comment