element-plus/docs/.vitepress/vitepress/components/navbar/vp-social-links.vue
云游君 8583c70fdc
feat(theme-chalk): use @use instead of @import & remove /**/ comment (#3696)
* feat(theme-chalk): use @use instead of @import & remove /**/ comment

* refactor(theme-chalk): refactor scss with @use module

* fix(docs): scss in docs toggle to '@use'

* docs: add custom theme on demand

* docs: add unplugin-element-plus
2021-09-28 20:42:12 +08:00

20 lines
404 B
Vue

<script setup lang="ts">
import { useSocialLinks } from '../../composables/social-links'
import VPSocialLink from './vp-social-link.vue'
const links = useSocialLinks()
</script>
<template>
<div class="social-links">
<VPSocialLink v-for="link in links" :key="link.text" v-bind="link" />
</div>
</template>
<style scoped lang="scss">
.social-links {
height: 20px;
padding: 0 8px;
}
</style>