<template>
  <section class="app-main">
    <transition name="fade-transform" mode="out-in">
      <keep-alive :include="cachedViews">
        <router-view></router-view>
      </keep-alive>
    </transition>
  </section>
</template>

<script>
export default {
  name: 'AppMain'
}
</script>

<style scoped>
.app-main {
  padding: 20px;
  margin-left: 20px;
  box-shadow: 0,1px,3px,0;
  font-family: Nunito, sans-serif;
  height: calc(100% - 60px);
  position: relative;
  overflow: scroll;
  width: 100%;
  background-color:#fff;
}
</style>
