Convert most code to ts

This commit is contained in:
2022-01-31 21:14:13 +00:00
parent 27508af3a7
commit 7cba471de7
12 changed files with 95 additions and 69 deletions

View File

@ -1,7 +1,8 @@
<script>
<script lang="ts">
import { defineComponent } from "vue";
import { LOGOUT } from "./store/mutation-types";
export default {
export default defineComponent({
computed: {
loggedIn() {
return this.$store.state.Session.Token;
@ -19,7 +20,7 @@ export default {
beforeCreate () {
this.$store.commit("initializeStore");
}
}
})
</script>
<template>