mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 22:20:27 +08:00
13 lines
350 B
JavaScript
13 lines
350 B
JavaScript
import { BaseService, Service, Permission } from "./service";
|
|
import { SET_SERVICE, SET_ROUTER, SET_COMPONENT } from "./set";
|
|
import "./common";
|
|
|
|
async function bootstrap(options = {}) {
|
|
const { components } = options;
|
|
|
|
SET_ROUTER();
|
|
SET_SERVICE();
|
|
SET_COMPONENT({ events: components });
|
|
}
|
|
export { Service, Permission, BaseService, bootstrap };
|