English | 中文
Based on the unocss
component library vue3
provides a concise set of components.
pnpm add unocss -D
pnpm add @lite-space/ui
pnpm add @lite-space/theme
// unocss.config.ts
import { presetLite } from '@lite-space/theme'
export default defineConfig({
// ...
presets: [
// ...
presetLite()
]
})
<script setup lang="ts">
import { Button } from '@lite-space/ui'
</script>
<template>
<Button />
</template>
If you encounter any problems during use, feel free to submit an issue or pull request, and we will resolve it as soon as possible, if you like it, please star it.