<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
export default {
  name: 'App',
  metaInfo() {
    return {
      title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title,
      titleTemplate: (title) => {
        return title ? `${title} - ${process.env.VUE_APP_TITLE}` : process.env.VUE_APP_TITLE;
      }
    };
  }
};
</script>
<style lang="scss">
/**挂载iconfont字体图标*/
@font-face {
  font-family: 'iconfont';
  src: url('https://at.alicdn.com/t/c/font_4507607_k7tryf81fl.ttf?t=1716877178929') format('truetype');
  /* src: url('~@/static/font/iconfont.ttf') format('truetype'); */
}
.icon {
  font-family: iconfont;
}
</style>
