mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-11 21:12:50 +00:00
13 lines
338 B
JavaScript
13 lines
338 B
JavaScript
import { BaseService, Service, Permission } from "./service";
|
|
import { SET_SERVICE, SET_ROUTER, SET_MODULE } from "./set";
|
|
import "./common";
|
|
|
|
async function bootstrap(options = {}) {
|
|
const { modules } = options;
|
|
|
|
SET_ROUTER();
|
|
SET_SERVICE();
|
|
SET_MODULE({ events: modules });
|
|
}
|
|
export { Service, Permission, BaseService, bootstrap };
|