Convert Register.vue to TS

This commit is contained in:
Jan Bader 2022-01-31 20:47:56 +00:00
parent e0981630ab
commit 27508af3a7

View File

@ -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>