Total Complexity | 2 |
Complexity/F | 2 |
Lines of Code | 18 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import VeeValidate from 'vee-validate'; |
||
2 | |||
3 | Vue.use(VeeValidate); |
||
|
|||
4 | // Create our vue instance |
||
5 | const vm = new Vue({ |
||
6 | el: "#cp-nav-content", |
||
7 | components: { |
||
8 | }, |
||
9 | data: { |
||
10 | }, |
||
11 | mounted() { |
||
12 | }, |
||
13 | }); |
||
14 | |||
15 | // Accept HMR as per: https://webpack.js.org/api/hot-module-replacement#accept |
||
16 | if (module.hot) { |
||
17 | module.hot.accept(); |
||
18 | } |
||
19 |
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.