// import store from '@/rokeTools/store';
import http from '@/rokeTools/request';
import platform from '@/rokeTools/platform';
import rokeNavigate from '@/rokeTools/navigateManager';
import {
	CLIENT_URL_KEY,
	SESSION_ID_KEY,
} from '../env.js';

const install = Vue => {
	//base_url 存放
	Vue.prototype.$CLIENT_URL_KEY = CLIENT_URL_KEY;
	//session_id 存放
	Vue.prototype.$SESSION_ID_KEY = SESSION_ID_KEY;
	// 挂载请求
	Vue.prototype.$http = http;
	// 平台判断
	Vue.prototype.$platform = platform;
	// 跳转事件管理
	Vue.prototype.$rokeNavigate = rokeNavigate;
}

export async function init(options) {
	//可以在这里写一些初始化信息

}


export default {
	install
}