gamebrary/src/pages/PublicProfile.vue
2021-04-16 13:03:16 -07:00

36 lines
626 B
Vue

<template lang="html">
<div>
<pre>{{ userName }}</pre>
<!-- TODO: load profile and display it -->
</div>
</template>
<script>
export default {
computed: {
userName() {
return this.$route.params.userName;
},
},
mounted() {
this.load();
},
methods: {
load() {
// load public profile
// console.log(this.userName);
// this.$store.dispatch('LOAD_PROFILE', this.userName)
// .then((data) => {
// console.log('boom');
// console.log(data);
// })
},
},
};
</script>
<style lang="scss" rel="stylesheet/scss" scoped>
</style>