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