feat: unocss-preset-shadcn
This commit is contained in:
15
src/pages/UI-components/ShadcnVue/index.page.vue
Normal file
15
src/pages/UI-components/ShadcnVue/index.page.vue
Normal file
@ -0,0 +1,15 @@
|
||||
<script setup lang="ts">
|
||||
import { Button as ShadcnButton } from '@/shadcn/components/ui/button';
|
||||
|
||||
const onClick = () => {
|
||||
console.log('click');
|
||||
};
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<ShadcnButton variant="link" :onClick>s</ShadcnButton>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped></style>
|
Reference in New Issue
Block a user