<template>
  <div id="app">
    <router-view/>
  </div>
</template>
<script>
import { getToken } from '@/util/auth'
export default {
  created () {
    if (!getToken()) {
      this.$router.push({ name: 'logo' })
    }
  }
}
</script>

<style lang="scss">

</style>
