Skip to content

Commit

Permalink
feat: add BaseLink component
Browse files Browse the repository at this point in the history
  • Loading branch information
stafyniaksacha committed Aug 12, 2023
1 parent 1ff77c4 commit c57288d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions components/base/BaseLink.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<script setup lang="ts">
import type { NuxtLinkProps } from '#app'
const props = defineProps<NuxtLinkProps>()
const NuxtLink = defineNuxtLink({})
</script>

<template>
<component :is="NuxtLink" class="nui-link" v-bind="props">
<slot />
</component>
</template>

0 comments on commit c57288d

Please sign in to comment.