Some wprk on auth code
This commit is contained in:
14
KTUSA PS/ClientApp/src/pages/Home.vue
Normal file
14
KTUSA PS/ClientApp/src/pages/Home.vue
Normal file
@@ -0,0 +1,14 @@
|
||||
<template>
|
||||
<h1>Hello there</h1>
|
||||
<!-- {{ $store.state.auth.tokenData }} -->
|
||||
{{ $store.getters["auth/isValid"] }}
|
||||
<br />
|
||||
Your name is: {{ $store.getters["auth/name"] }}<br />
|
||||
Your email is: {{ $store.getters["auth/email"] }}<br />
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "Home page",
|
||||
};
|
||||
</script>
|
Reference in New Issue
Block a user