1 | import Vue from 'vue'; |
||
2 | import WidgetChart from '../vue/WidgetChart.vue'; |
||
3 | |||
4 | // Create our vue instance |
||
5 | const vm = new Vue({ |
||
0 ignored issues
–
show
Coding Style
introduced
by
Loading history...
|
|||
6 | el: "#widget-content", |
||
7 | components: { |
||
8 | 'widget-chart': WidgetChart, |
||
9 | }, |
||
10 | data: { |
||
11 | }, |
||
12 | methods: { |
||
13 | }, |
||
14 | mounted() { |
||
15 | }, |
||
16 | }); |
||
0 ignored issues
–
show
For multi-line function calls, the closing parenthesis should be on a new line.
If a function call spawns multiple lines, the coding standard suggests to move the closing parenthesis to a new line: someFunctionCall(
$firstArgument,
$secondArgument,
$thirdArgument
); // Closing parenthesis on a new line.
Loading history...
|
|||
17 |