xref: /openbmc/webui-vue/src/main.js (revision a2988f40)
1import Vue from "vue";
2import App from "./App.vue";
3import router from "./router";
4import store from "./store";
5import Axios from "axios";
6import {
7  ButtonPlugin,
8  NavPlugin,
9  CollapsePlugin,
10  LinkPlugin,
11  NavbarPlugin
12} from "bootstrap-vue";
13
14Vue.use(ButtonPlugin);
15Vue.use(NavPlugin);
16Vue.use(CollapsePlugin);
17Vue.use(LinkPlugin);
18Vue.use(NavbarPlugin);
19
20Vue.prototype.$http = Axios;
21
22new Vue({
23  router,
24  store,
25  render: h => h(App)
26}).$mount("#app");
27