0.0.6 • Published 2 years ago

vue-cli-plugin-vue-api-manager v0.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Vue-Cli plugin vue api manager

This is a vue-cli plugin to config vue api manager.

vue api manager is a centralized api manager for your vue application.

Usage Examples

let response = await this.$apiManager.apiOne();


let response = await this.$apiManager.apiOne({
            params: {
            id:1
            },
            headers:{
            'My-New-Header': 'header value'
            }
        });

Installation

vue add vue-api-manager

Authorization Token Store

There is tow options for token storage browser local storage and vuex store.

if you want to save the token in vuex store you need to add it to your project.

Install Vuex

vue add vuex

0.0.6

2 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago