refactor(deps): migrate to nuxt v4

This commit is contained in:
2026-02-10 00:31:04 +08:00
parent f1b9cea060
commit 880b85f75d
88 changed files with 80 additions and 60 deletions

View File

@@ -0,0 +1,30 @@
<script setup lang="ts">
const props = defineProps({
vertical: {
type: Boolean,
default: false,
},
lineGradientFrom: {
type: String,
default: 'primary',
},
lineGradientTo: {
type: String,
default: 'primary',
},
})
</script>
<template>
<div
:class="{
'w-full h-[1px]': !vertical,
'w-[1px] h-full': vertical,
[`from-${lineGradientFrom}-500/50`]: true,
[`to-${lineGradientTo}-300/50`]: true,
}"
class="bg-gradient-to-r rounded-full my-4"
></div>
</template>
<style scoped></style>