test-components-lcy
v0.0.1
Published
A Vue 3 component library built with TypeScript
Maintainers
Readme
test-components-lcy
A Vue 3 component library built with TypeScript and Vite.
Installation
npm install test-components-lcy
# or
pnpm install test-components-lcy
# or
yarn add test-components-lcyUsage
Import in your Vue 3 project
import { Button } from "test-components-lcy"Example
<template>
<Button type="primary" :loading="isLoading"> Click Me </Button>
</template>
<script setup lang="ts">
import { Button } from "test-components-lcy"
import { ref } from "vue"
const isLoading = ref(false)
</script>Components
Button
A button component with loading and size options.
Props:
type?: "default" | "primary"- Button typesize?: string- Button sizeloading?: boolean- Loading state
Development
# Install dependencies
pnpm install
# Development
pnpm dev
# Build
pnpm build
# Preview
pnpm previewLicense
MIT
