<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_4225786_b254k34xnod.ttf?t=1693273272349') format('truetype');
	/* src: url('~@/static/font/iconfont.ttf') format('truetype'); */
}
.icon {
	font-family: iconfont;
}
</style>
