Skip to content

Commit

Permalink
refactor: ♻️ remove extra package and imports
Browse files Browse the repository at this point in the history
  • Loading branch information
slugb0t committed Dec 29, 2023
1 parent a1c55cd commit 1b29286
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
},
"dependencies": {
"@headlessui/vue": "^1.7.15",
"@kangc/v-md-editor": "^2.3.18",
"@vavt/md-editor-extension": "^3.0.0",
"@vueuse/core": "^10.4.1",
"axios": "^1.5.1",
Expand Down
17 changes: 0 additions & 17 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,9 @@ import "notivue/notifications.css"; // Only needed if using built-in notificatio
import "notivue/animations.css"; // Only needed if using built-in animations
import "./utils/fetchInterceptor";
import "./utils/axiosInterceptor";
// css for the markdown editor
import "katex/dist/katex.min.css";
import "@kangc/v-md-editor/lib/style/base-editor.css";
import "@kangc/v-md-editor/lib/theme/style/github.css";

// import "@kangc/v-md-editor/lib/plugins/todo-list/todo-list.css";
import { Icon } from "@iconify/vue";
import VMdEditor from "@kangc/v-md-editor";
import enUS from "@kangc/v-md-editor/lib/lang/en-US";
import createAlignPlugin from "@kangc/v-md-editor/lib/plugins/align";
import createKatexPlugin from "@kangc/v-md-editor/lib/plugins/katex/cdn";
import createTodoListPlugin from "@kangc/v-md-editor/lib/plugins/todo-list/index";
import githubTheme from "@kangc/v-md-editor/lib/theme/github.js";
import { createFetch } from "@vueuse/core";
import { createNotivue } from "notivue";
import { createPinia } from "pinia";
Expand All @@ -28,12 +18,6 @@ import App from "./App.vue";
import router from "./router";
import { baseURL } from "./utils/constants";

VMdEditor.use(githubTheme, {});
VMdEditor.use(createKatexPlugin());
VMdEditor.use(createTodoListPlugin());
VMdEditor.use(createAlignPlugin());
VMdEditor.lang.use("en-US", enUS);

const app = createApp(App);

const pinia = createPinia();
Expand All @@ -44,7 +28,6 @@ app.component("f-icon", Icon);
app.use(pinia);
app.use(router);
app.use(Vue3Lottie, { name: "Vue3Lottie" });
app.use(VMdEditor);

// Make Axios available globally
app.config.globalProperties.$axios = axios;
Expand Down

0 comments on commit 1b29286

Please sign in to comment.