Skip to content

@jakguru/vueprint / @jakguru/vueprint/services/api

Module: @jakguru/vueprint/services/api

The API Service is a simple instance of Axios which has been pre-configured to include a bearer token provided from the Local Storage service.

Classes

Utility Functions

isAxiosInstance

isAxiosInstance(instance): boolean

Check if the given variable is an Axios instance

Parameters

NameTypeDescription
instanceanyThe variable that should be checked to see if it is an Axios instance

Returns

boolean

boolean indicating whether the given variable is an Axios instance

Defined in

src/services/api.ts:85

Vueprint is a commercial work product released under the MIT License and is provided as-is with no warranty or guarantee of support.