layui/package/component
2022-09-10 15:05:59 +08:00
..
script 🔧: jsx 插件配置问题,导致全量 es 和 umd 构建转译 jsx 语法错误 2022-08-30 15:39:35 +08:00
src 🐛(component): update 2022-09-10 15:05:59 +08:00
.gitignore test: manualChunks 2022-04-23 19:22:32 +08:00
package.json (component): release 1.4.11 2022-09-08 11:12:10 +08:00
README.md chore: add README.md 2022-04-19 00:27:51 +08:00
shims-vue.d.ts chore: 升级 monorepo 架构 2022-04-05 10:31:31 +08:00
tsconfig.json (all): update 2022-05-24 12:33:22 +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.