Altra conversione in Typescript , partendo da un progetto di esempio funzionante...
This commit is contained in:
31
src/views/AuthSuccess.vue
Normal file
31
src/views/AuthSuccess.vue
Normal file
@@ -0,0 +1,31 @@
|
||||
<template>
|
||||
<div>
|
||||
<h1>Signup succeeded</h1>
|
||||
<button @click='logOut'>Log out</button>
|
||||
<hr>
|
||||
<img :src="photo" style='height: 120px'>
|
||||
<br>
|
||||
<p>{{name}}</p>
|
||||
<p>{{email}}</p>
|
||||
<p>{{userId}}</p>
|
||||
<hr>
|
||||
<pre>{{user}}</pre>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
photo: '',
|
||||
userId: '',
|
||||
name: '',
|
||||
email: '',
|
||||
user: {}
|
||||
}
|
||||
},
|
||||
created () {
|
||||
|
||||
},
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user