feat(projects): 添加swiper插件

This commit is contained in:
Soybean
2021-11-16 22:16:51 +08:00
parent 0a9fba90b5
commit 27f600c467
13 changed files with 197 additions and 22 deletions

View File

@ -1,13 +1,10 @@
<template>
<p>
<span>github地址</span>
<a class="text-blue-500" :href="link" target="_blank">
{{ link }}
</a>
</p>
<web-site-link label="github地址" :link="link" />
</template>
<script setup lang="ts">
import WebSiteLink from '../WebSiteLink/index.vue';
interface Props {
/** github链接 */
link: string;

View File

@ -0,0 +1,20 @@
<template>
<p>
<span>{{ label }}</span>
<a class="text-blue-500" :href="link" target="_blank">
{{ link }}
</a>
</p>
</template>
<script setup lang="ts">
interface Props {
/** 网址名称 */
label: string;
/** 网址链接 */
link: string;
}
defineProps<Props>();
</script>
<style scoped></style>

View File

@ -3,6 +3,7 @@ import IconClose from './IconClose/index.vue';
import ButtonTab from './ButtonTab/index.vue';
import ChromeTab from './ChromeTab/index.vue';
import BetterScroll from './BetterScroll/index.vue';
import WebSiteLink from './WebSiteLink/index.vue';
import GithubLink from './GithubLink/index.vue';
export { CountTo, IconClose, ButtonTab, ChromeTab, BetterScroll, GithubLink };
export { CountTo, IconClose, ButtonTab, ChromeTab, BetterScroll, WebSiteLink, GithubLink };