tachiyomi-website/src/.vuepress/enhanceApp.js

29 lines
894 B
JavaScript
Raw Normal View History

import "./styles/animate.css";
import "./styles/sweetalert2.css";
import "vue-material-design-icons/styles.css";
import "vue-good-table/dist/vue-good-table.css";
import { VueAgile } from "vue-agile";
import { VueGoodTable } from "vue-good-table";
import VueSweetalert2 from "vue-sweetalert2";
2020-08-03 02:37:43 +02:00
import VueMoment from "vue-moment";
2020-08-23 20:02:35 +02:00
import Element from "element-ui";
2020-08-04 20:13:58 +02:00
import store from "./store";
export default ({
Vue, // the version of Vue being used in the VuePress app
options, // the options for the root Vue instance
router, // the router instance for the app
siteData, // site metadata
}) => {
// eslint-disable-next-line vue/match-component-file-name
Vue.component("Agile", VueAgile);
// eslint-disable-next-line vue/match-component-file-name
Vue.component("VueGoodTable", VueGoodTable);
Vue.use(VueSweetalert2);
2020-08-03 02:37:43 +02:00
Vue.use(VueMoment);
2020-08-23 20:02:35 +02:00
Vue.use(Element);
2020-08-04 20:13:58 +02:00
Vue.mixin({ store });
};