resources/assets/js/app.js   A
last analyzed

Complexity

Total Complexity 0
Complexity/F 0

Size

Lines of Code 15
Function Count 0

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 0
dl 0
loc 15
rs 10
c 1
b 0
f 0
cc 0
nc 1
mnd 0
bc 0
fnc 0
bpm 0
cpm 0
noi 2
1
2
/**
3
 * First we will load all of this project's JavaScript dependencies which
4
 * includes Vue and other libraries. It is a great starting point when
5
 * building robust, powerful web applications using Vue and Laravel.
6
 */
7
8
require('./bootstrap');
9
10
require('jquery');
11
12
/**
13
 * Next, we will create a fresh Vue application instance and attach it to
14
 * the page. Then, you may begin adding components to this application
15
 * or customize the JavaScript scaffolding to fit your unique needs.
16
 */
17
18
Vue.component('notification', require('./components/Notification.vue'));
0 ignored issues
show
Bug introduced by
The variable Vue seems to be never declared. If this is a global, consider adding a /** global: Vue */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
19
20
const app = new Vue({
0 ignored issues
show
Unused Code introduced by
The constant app seems to be never used. Consider removing it.
Loading history...
21
    el: '#app',
22
});