I created example: jsFiddle, that might can help you, and yes… you can return the default value as a array:
ES6
props: {
items: {
type: Array,
default: () => []
}
}
I created example: jsFiddle, that might can help you, and yes… you can return the default value as a array:
ES6
props: {
items: {
type: Array,
default: () => []
}
}