<template>
  <div id="app">
    <keep-alive>
      <router-view v-if="$route.meta.cache" />
    </keep-alive>
    <router-view v-if="!$route.meta.cache" />
  </div>
</template>

<script>
export default {
  name: 'App',
}
</script>

<style>
  #app {
    height: 100%;
  }
  body {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
  }
</style>
