forked from galaxyproject/galaxy-hub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.js
25 lines (20 loc) · 951 Bytes
/
main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// This is the main.js file. Import global CSS and scripts here.
// The Client API can be used here. Learn more: gridsome.org/docs/client-api
import "~/assets/styles.scss";
import DefaultLayout from "~/layouts/Default.vue";
import LinkBox from "~/components/LinkBox.vue";
import VegaEmbed from "~/components/VegaEmbed.vue";
import MarkdownEmbed from "~/components/MarkdownEmbed.vue";
import Twitter from "~/components/Twitter.vue";
import BootstrapVue from "bootstrap-vue";
//eslint-disable-next-line no-unused-vars
export default function (Vue, { router, head, isClient }) {
// Set default layout as a global component
Vue.component("Layout", DefaultLayout);
Vue.component("LinkBox", LinkBox);
Vue.component("VegaEmbed", VegaEmbed);
Vue.component("MarkdownEmbed", MarkdownEmbed);
Vue.component("Twitter", Twitter);
Vue.use(BootstrapVue);
Vue.config.ignoredElements = ["gcse:search", "gcse:searchresults-only"];
}