Go to file
2022-03-16 11:57:08 +08:00
.gitee chore: 修改 logo 信息 2022-02-25 13:17:06 +08:00
.husky chore: commit时格式整理 2022-02-16 17:23:42 +08:00
example chore: edit README.en.md 2022-03-16 11:17:05 +08:00
script build: 删除 build.less.ts 文件 2022-02-25 10:10:33 +08:00
src chore: edit README.en.md 2022-03-16 11:17:05 +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 chore: edit license 2022-03-12 20:44:10 +08:00
package.json chore: upgrade dependency 2022-03-16 11:57:08 +08:00
README.en.md chore: edit README.en.md 2022-03-16 11:17:05 +08:00
README.md chore: edit README.en.md 2022-03-16 11:17:05 +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 » Join us

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.

Licence

Layui vue is licensed under the MIT license.