Go to file
2022-02-22 15:27:36 +08:00
.gitee docs: 新增物料投递链接 2022-02-21 21:25:22 +08:00
.husky chore: commit时格式整理 2022-02-16 17:23:42 +08:00
example chore: 发布 0.3.8 2022-02-21 21:34:11 +08:00
script docs: 更新日志 2022-02-18 09:39:37 +08:00
src fix: the install method is missing parameters 2022-02-22 15:27:36 +08:00
.eslintrc.js edit eslint config 2021-12-25 00:19:43 +08:00
.gitignore add alpha branch 2022-01-27 16:18:16 +08:00
.prettierrc fix conflict 2021-12-28 18:43:29 +08:00
commitlint.config.js feat: commitlint 集成 2022-02-16 15:53:40 +08:00
LICENSE 发布 0.3.0 版本 2021-12-28 00:57:35 +08:00
package.json fix: the install method is missing parameters 2022-02-22 15:27:36 +08:00
README.en.md chore: 更新 README.md 2022-02-22 13:37:57 +08:00
README.md chore: 更新 README.md 2022-02-22 13:46:50 +08:00
shims-vue.d.ts 发布 0.3.0 版本 2021-12-28 00:57:35 +08:00
tsconfig.json 调整 tsconfig.json 结构 2021-12-25 16:31:10 +08:00

Introduction

Version License Build Status Test Coverage

🔶 Explore the docs »

An enterprise-class UI components based on Layui and Vue.

Run with code Sandbox.

Edit layui-vue

Features

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

Get Started

Use npm to install.

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')

We have several examples on the website. Here is the first one to get you started:

<template>
  <lay-button-container>
    <lay-button>Hello Word</lay-button>
  </lay-button-container>
</template>

Feedback

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 Process

  • 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.

Contributors

This project follows the all-contributors specification and is brought to you by these awesome contributors.

Backers

Thank you to all our backers! 🙏 [Become a backers]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

Open Source Licence

Layui vue is licensed under the MIT license.