import { boot } from 'quasar/wrappers' ; import axios , { AxiosInstance } from 'axios' ; declare module '@vue/runtime-core' { interface ComponentCustomProperties { $axios : AxiosInstance ; } } let api ; export default boot ( ( { app , store } ) => { api = axios . create ( { baseURL : store . getters . getRootURL } ) ; app . config . globalProperties . $axios = axios ; app . config . globalProperties . $api = api ; } ) ; export { api } ;