3.0 KiB
介绍
layui - vue(谐音:类 UI) 是 一 套 Vue 3.0 的 桌 面 端 组 件 库.
Run with code Sandbox.
特性
A few of the things you can do with layui vue:
- Writing components using setup script
- Up to 60 high quality components
- Provide Axure design resources
- Support theme customization
- Support internationalization
安装
使用 npm 安装.
npm i @layui/layui-vue
Before using, you need to mount layui Vue to Vue and introduce index.css style file
import App from './App.vue'
import { createApp } from 'vue'
import layui from '@layui/layui-vue'
import '@layui/layui-vue/lib/index.css'
createApp(App).use(layui).mount('#app')
我们在主页上有不少例子,这是让您入门的第一个:
<template>
<lay-button-container>
<lay-button>Hello Word</lay-button>
</lay-button-container>
</template>
反馈
Feel free to send us feedback on file an issue. Feature requests are always welcome. If you wish to contribute, please take a quick look at the guidelines!
If there's anything you'd like to chat about, please feel free to join our Gitter chat!
构建
build
Packaged component library
Please take a look at the contributing guidelines for a detailed process on how to build your application as well as troubleshooting information.
贡献
This project follows the all-contributors specification and is brought to you by these awesome contributors.
支持
Thank you to all our backers! 🙏 [Become a backers]
赞助
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]
开源
Layui vue is licensed under the MIT license.