feat: 配合unplugin-icons集成iconify图标解决方案

This commit is contained in:
张传龙
2022-04-08 17:21:48 +08:00
parent 7b90d7f8de
commit ec55f33655
8 changed files with 122 additions and 22 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div class="logo">
<n-icon size="36" color="#316c72">
<LastfmSquare />
<IconLogo />
</n-icon>
<router-link to="/">
<n-gradient-text type="primary">{{ title }}</n-gradient-text>
@@ -10,7 +10,7 @@
</template>
<script setup>
import { LastfmSquare } from '@vicons/fa'
import { IconLogo } from '@/components/AppIcons'
const title = import.meta.env.VITE_APP_TITLE
</script>