Convert Register.vue to TS
This commit is contained in:
parent
e0981630ab
commit
27508af3a7
@ -1,13 +1,16 @@
|
|||||||
<script>
|
<script lang="ts">
|
||||||
|
import { defineComponent } from 'vue';
|
||||||
import { REGISTER } from "../store/action-types";
|
import { REGISTER } from "../store/action-types";
|
||||||
|
|
||||||
export default {
|
export default defineComponent({
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
showPassword: false,
|
||||||
|
error: "",
|
||||||
login: {
|
login: {
|
||||||
email: "",
|
email: "",
|
||||||
password: "",
|
password: "",
|
||||||
name: ""
|
name: "",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -22,7 +25,7 @@ export default {
|
|||||||
// TODO redirect to dashboard on success
|
// TODO redirect to dashboard on success
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user