import $api from '@/common/api';
import $url from '@/common/url';
import $router from '@/common/router';
import $platform from '@/common/platform';
import $helper from '@/common/helper';
import zIndex from '@/common/config/zIndex.js';
import $store from '@/common/store';
import dayjs from 'dayjs';
import relativeTime from 'dayjs/plugin/relativeTime';
import duration from 'dayjs/plugin/duration';
import 'dayjs/locale/zh-cn';

dayjs.locale('zh-cn');
dayjs.extend(relativeTime);
dayjs.extend(duration);

const sheep = {
  $api,
  $store,
  $url,
  $router,
  $platform,
  $helper,
  $zIndex: zIndex,
};


// 开发模式
function SoundChainDebug() {
  // 开发环境引入vconsole调试
  // #ifdef H5
  // import("vconsole").then(vconsole => {
  // 	new vconsole.default();
  // });
  // #endif
  // 同步前端页面到后端
  // console.log(ROUTES)
}

export default sheep;
