element-plus/docs/.vitepress/vitepress/components/navbar/vp-social-links.vue
zouhang d8954f945e
chore: make eslint works in docs folder (#3582)
* chore: make eslints work in docs folder

* refactor(dev): improve eslint

* fix eslint issue

Co-authored-by: Kevin <sxzz@sxzz.moe>
Co-authored-by: jeremywuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-09-23 14:16:37 +08:00

22 lines
436 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">
@import '../../styles/mixins';
.social-links {
height: 20px;
padding: 0 8px;
}
</style>