mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-16 02:11:48 +08:00
8583c70fdc
* 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
20 lines
404 B
Vue
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>
|