-1👍
In your component prop
property, declare your user
property of type Object
props: {
user: {
type: Object,
default: {}
}
}
Then your component template should have something like this
<my-component
:user="{
username: 'Chris',
email: 'something@email.com'
}"
></my-component>
- [Vuejs]-Setting Vuetify Circular Progress Bar value after uploading image to firebase store
- [Vuejs]-Create vuefire firebase reference dynamically
Source:stackexchange.com