mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-12 12:25:16 +08:00
6453b90043
* feat(vite-doc): add vite md plugin * fixed(site-vite): merge conflicts * fix(vite-doc): some bug in vue rerender,use key to advoid * feat(vite-doc): finished doc * fix(vite-doc): import path should be same as normal * chore(vite-doc): remove useless code Co-authored-by: Lecong Zhang <50313260+tskirby@users.noreply.github.com>
382 B
382 B
图标
我喜欢用图标当头像。
<n-avatar>
<n-icon>
<md-cash />
</n-icon>
</n-avatar>
import mdCash from 'naive-ui/lib/icons/md-cash.vue'
import mdContacts from 'naive-ui/lib/icons/md-contacts.vue'
import iosContacts from 'naive-ui/lib/icons/ios-contacts.vue'
export default {
components: {
mdCash,
mdContacts,
iosContacts
}
}