@allinmkt/vue-user
v2.2.5
Published
Vue user component @allin
Downloads
6
Keywords
Readme
Install
npm i --save vue-user-allin
How to
In any of your vue files:
JS:
import VueUser from 'vue-user-allin'
export default {
name: 'MyPage',
components: {
VueUser
},
data() {
return {
user: {
message: "Hello",
name: "James Bond",
profession: "Application Developer",
email: "[email protected]",
configs: {
profile: "CONFIGS.TEST"
}
}
};
}
}
Template:
<template>
<div>
<VueUser :user="user" :list="listNotifications" />
</div>
</template>