<template>
  <router-view></router-view>
</template>

<script>

export default {
  data() {
    return {
    };
  },
  mounted() {
    if (!localStorage.token) {
      if (import.meta.env.BASE_URL !== '/') window.location.href = '/';
      else console.error('Set localStorage.token')
    }
  }
};

</script>

<style scoped>
</style>
