mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-03-05 11:30:46 +08:00
feat: 引入iconpark并修改部分icon
This commit is contained in:
48
frontend_nuxt/plugins/iconpark.client.ts
Normal file
48
frontend_nuxt/plugins/iconpark.client.ts
Normal file
@@ -0,0 +1,48 @@
|
||||
import { defineNuxtPlugin } from 'nuxt/app'
|
||||
import {
|
||||
Pin,
|
||||
Fireworks,
|
||||
Gift,
|
||||
RankingList,
|
||||
Star,
|
||||
Edit,
|
||||
HashtagKey,
|
||||
Remind,
|
||||
Info,
|
||||
ChartLine,
|
||||
Finance,
|
||||
Up,
|
||||
Down,
|
||||
TagOne,
|
||||
MedalOne,
|
||||
Next,
|
||||
DropDownList,
|
||||
MoreOne,
|
||||
Comment,
|
||||
Link,
|
||||
FaceWithoutMouth,
|
||||
} from '@icon-park/vue-next'
|
||||
|
||||
export default defineNuxtPlugin((nuxtApp) => {
|
||||
nuxtApp.vueApp.component('Pin', Pin)
|
||||
nuxtApp.vueApp.component('Fireworks', Fireworks)
|
||||
nuxtApp.vueApp.component('Gift', Gift)
|
||||
nuxtApp.vueApp.component('RankingList', RankingList)
|
||||
nuxtApp.vueApp.component('Star', Star)
|
||||
nuxtApp.vueApp.component('Edit', Edit)
|
||||
nuxtApp.vueApp.component('HashtagKey', HashtagKey)
|
||||
nuxtApp.vueApp.component('Remind', Remind)
|
||||
nuxtApp.vueApp.component('Info', Info)
|
||||
nuxtApp.vueApp.component('ChartLine', ChartLine)
|
||||
nuxtApp.vueApp.component('Finance', Finance)
|
||||
nuxtApp.vueApp.component('Up', Up)
|
||||
nuxtApp.vueApp.component('Down', Down)
|
||||
nuxtApp.vueApp.component('TagOne', TagOne)
|
||||
nuxtApp.vueApp.component('MedalOne', MedalOne)
|
||||
nuxtApp.vueApp.component('Next', Next)
|
||||
nuxtApp.vueApp.component('DropDownList', DropDownList)
|
||||
nuxtApp.vueApp.component('MoreOne', MoreOne)
|
||||
nuxtApp.vueApp.component('CommentIcon', Comment)
|
||||
nuxtApp.vueApp.component('LinkIcon', Link)
|
||||
nuxtApp.vueApp.component('FaceWithoutMouth', FaceWithoutMouth)
|
||||
})
|
||||
Reference in New Issue
Block a user