Last active
October 26, 2017 20:04
-
-
Save brybrophy/e8aaeeb2684ced03d9435c767bd91102 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ApiCore from 'axios-core-api'; | |
import axiosConfig from './axiosConfig.js'; | |
class BaseApi { | |
constructor(apiCore) { | |
this._apiCore = apiCore; | |
} | |
} | |
const apiCore = new ApiCore(axiosConfig); | |
const baseApi = new BaseApi(apiCore); | |
export default baseApi; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment