-
Notifications
You must be signed in to change notification settings - Fork 4
/
demo.ts
34 lines (29 loc) · 1.25 KB
/
demo.ts
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
26
27
28
29
30
31
32
33
34
import Vue from 'vue';
import App from './App.vue';
import './assets/scss/vendor.scss';
import './assets/scss/simple-vue-timeline.scss';
import { SimpleTimelinePlugin } from '@/main';
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
import { BadgePlugin, ButtonPlugin, CardPlugin, LayoutPlugin } from 'bootstrap-vue';
import { library } from '@fortawesome/fontawesome-svg-core';
import { faTrash } from '@fortawesome/free-solid-svg-icons/faTrash';
import { faPlus } from '@fortawesome/free-solid-svg-icons/faPlus';
import { faPencilAlt } from '@fortawesome/free-solid-svg-icons/faPencilAlt';
import { faTasks } from '@fortawesome/free-solid-svg-icons/faTasks';
import { faBell } from '@fortawesome/free-solid-svg-icons/faBell';
import { faHome } from '@fortawesome/free-solid-svg-icons/faHome';
import { faCalendarAlt } from '@fortawesome/free-solid-svg-icons/faCalendarAlt';
Vue.config.productionTip = false;
// font-awesome
library.add(faTrash, faPlus, faPencilAlt, faTasks, faBell, faHome, faCalendarAlt);
Vue.component('font-awesome-icon', FontAwesomeIcon);
// bootstrap
Vue.use(BadgePlugin);
Vue.use(ButtonPlugin);
Vue.use(CardPlugin);
Vue.use(LayoutPlugin);
// simpleTimeLine
Vue.use(SimpleTimelinePlugin);
new Vue({
render: h => h(App)
}).$mount('#app');