@alinaliao/lue-ui
v0.1.17
Published
vue3 ui component library
Readme
Lue UI
轻量级 Vue 3 UI 组件库。
快速开始
npm install @alinaliao/lue-ui引用方式在入口文件中引入
import { createApp } from 'vue'
import App from './App.vue'
import LueUI from '@alinaliao/lue-ui'
import '@alinaliao/lue-ui/dist/lue-ui.css'
const app = createApp(App)
app.use(LueUI)
app.mount('#app')Button 按钮
<template>
<LueButton type="primary">主要按钮</LueButton>
<LueButton type="danger">危险按钮</LueButton>
<LueButton>默认按钮</LueButton>
</template>LueButton组件查看更多 https://github.com/lsy999/lue-docs/blob/main/docs/components/button.md
Input 输入框
<template>
<LueInput v-model="value" />
</template>
<script setup>
import { ref } from 'vue'
const value = ref('Hello')
</script>LueInput组件查看更多 https://github.com/lsy999/lue-docs/blob/main/docs/components/input.md
