0👍
Try the following Vue Component:
<template></template>
<script>
export default {
data: function() {
return {
user: window.User
}
},
created(){
console.log(this.user)
},
}
</script>
I could see the user data from the console.log
in Vue component.
- [Vuejs]-Vuetify simple table. Convert nested object propertied to <td> columns
- [Vuejs]-Probleme router with localstorage password
Source:stackexchange.com