更新记录
1.0.0(2026-06-23) 下载此版本
- Added a default Vue plugin export with
install(app)for publicLk*components. - Added package publishing metadata for the
src/uni_modules/lucky-uipackage. - Published the npm package under the public name
uni-lucky-ui. - Added package-level README, LICENSE, and changelog assets.
- Kept internal demo/debug components out of default plugin registration.
平台兼容性
uni-app(4.36)
| Vue2 | Vue3 | Vue3插件版本 | Chrome | Safari | app-vue | app-nvue | Android | iOS | 鸿蒙 |
|---|---|---|---|---|---|---|---|---|---|
| × | √ | 1.0.0 | √ | √ | √ | × | √ | √ | - |
| 微信小程序 | 支付宝小程序 | 抖音小程序 | 百度小程序 | 快手小程序 | 京东小程序 | 鸿蒙元服务 | QQ小程序 | 飞书小程序 | 小红书小程序 | 快应用-华为 | 快应用-联盟 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| √ | √ | √ | √ | √ | √ | - | √ | √ | - | - | - |
其他
| 多语言 | 暗黑模式 | 宽屏模式 |
|---|---|---|
| √ | √ | × |
Lucky UI
Lucky UI is a UniApp component library for Vue 3 applications across H5, App, and mini program targets.
Install
Install from npm:
npm install uni-lucky-ui
Register the plugin when global lk-* components are needed:
import { createSSRApp } from 'vue';
import App from './App.vue';
import LuckyUI from 'uni-lucky-ui';
export function createApp() {
const app = createSSRApp(App);
app.use(LuckyUI);
return { app };
}
Import the theme once:
@use 'uni-lucky-ui/theme/src/index.scss';
Components can also be imported directly:
import LkButton from 'uni-lucky-ui/components/lk-button/lk-button.vue';
For uni_modules usage, copy this directory into a UniApp project:
src/uni_modules/lucky-ui
Register the plugin when global components are needed:
import { createSSRApp } from 'vue';
import App from './App.vue';
import LuckyUI from './uni_modules/lucky-ui';
export function createApp() {
const app = createSSRApp(App);
app.use(LuckyUI);
return { app };
}
Import the theme once:
@use './uni_modules/lucky-ui/theme/src/index.scss';
Components can also be imported directly:
import LkButton from '@/uni_modules/lucky-ui/components/lk-button/lk-button.vue';
Release Status
This package is prepared as uni-lucky-ui@1.0.0. Public components are installable through the default plugin export as lk-* components. Internal demo and debugging components are intentionally excluded from plugin registration.

收藏人数:
https://github.com/Orpheus-K/lucky-ui
https://www.npmjs.com/package/uni-lucky-ui
下载插件并导入HBuilderX
赞赏(0)
下载 0
赞赏 0
下载 12306584
赞赏 1923
赞赏
京公网安备:11010802035340号