@~gson/layui-vue

a component library for Vue 3 base on layui-vue 夏悸自定义版本
1,670
Install
npm install @~gson/layui-vue
Latest Version:2.17.14
License:MIT
Last Updated:Jul 7, 2024
Links: npm
Maintainer: ~gson

此版本是非官方优化版本

优化记录提交记录:

https://gitee.com/gson/layui-vue/commits/master

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 @~gson/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 '@~gson/layui-vue'
import '@~gson/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>

Volar

If you use Volar, specify the global component type via compilerOptions.type in tsconfig.json.

// tsconfig.json
{
  "compilerOptions": {
    // ...
    "types": ["@~gson/layui-vue/types"]
  }
}

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.

Related Packages

@layui/layui-vue

a component library for Vue 3 base on layui-vue

37,832
@yllfbaobao/layui-vue

a component library for Vue 3 base on layui-vue

1,384
tianjian-vue

a component library for Vue 3 base on tianjian-vue

1,425
@layui/layer-vue

a component library for Vue 3 base on layui-vue

16,928
@layui/json-schema-form

Json-schema-form is a high-level component encapsulated on the basis of @layui/l...

1,655

Version History

Version Released License
2.17.14 MIT
2.17.13 MIT
2.17.12 MIT
2.17.11 MIT
2.17.10 MIT