assets/js/app.js   A
last analyzed

Complexity

Total Complexity 2
Complexity/F 1

Size

Lines of Code 37
Function Count 2

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 27
c 0
b 0
f 0
dl 0
loc 37
rs 10
wmc 2
mnd 0
bc 0
fnc 2
bpm 0
cpm 1
noi 1
1
2
import 'bootstrap/dist/css/bootstrap.css'
3
import 'bootstrap-vue/dist/bootstrap-vue.css'
4
import '../css/app.scss'
5
6
import Vue          from 'vue'
7
import VueRouter    from 'vue-router'
8
import VueClipboard from 'vue-clipboard2'
9
import BootstrapVue from 'bootstrap-vue'
10
import VueMoment from 'vue-moment'
11
import VueFeather from 'vue-feather';
12
13
Vue.use(BootstrapVue);
14
Vue.use(VueRouter);
15
Vue.use(VueClipboard)
16
Vue.use(VueMoment);
17
Vue.component(VueFeather.name, VueFeather);
18
19
20
import axios from 'axios'
21
import ErrorResponseHandler from './api/errorHandler'
22
23
24
import App     from './App.vue'
25
import router  from './router'
26
import store from './store'
27
28
new Vue({
0 ignored issues
show
Unused Code Best Practice introduced by
The object created with new Vue({IdentifierNode(...false))),false,true))}) is not used but discarded. Consider invoking another function instead of a constructor if you are doing this purely for side effects.
Loading history...
29
    el: '#app',
30
    router: router,
31
    store: store,
32
    render: h => h(App)
33
});
34
35
axios.interceptors.response.use(
36
    response => { return response},
37
    ErrorResponseHandler
38
);
39
40