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

<script>
  import { funWxShare } from './utils/wxShareConfig'

  export default {
    name: 'App',
    mounted () {
      funWxShare('', '', location.href, '')
    }
  }
</script>

<style lang="scss">
  @import "./assets/styles/reset";

  body {
    background: #F2F2F2;
  }
</style>
