import * as base from './base/index.js'
import * as user from './user/index.js'
import * as home from './home/index.js'
import * as realname from './realname/index.js'
import * as order from './order/index.js'

const api = {
  ...base,
  ...user,
  ...home,
  ...realname,
  ...order,
}

export default {
  install (app) {
    app.config.globalProperties.$api = api
  },
}
