import { startApp } from "@/App";
import { initAuthDef } from "@/hooks/initAuthDef";
import { initViewportSize } from "@/hooks/initViewportSize";
import { initEditor } from "@/modules/editor";
import { initResource } from "@/modules/resource";
import CKEditor from "@ckeditor/ckeditor5-vue";
import router from "./router";

document.title = "推广编辑器";
startApp(
  router,
  [initAuthDef, initViewportSize, initResource, initEditor],
  (app) => {
    app.use(CKEditor);
  }
);
