Convert most code to ts
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user