@yh-ui/yh-ui 0.1.7 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +61 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +5 -5
package/README.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# @yh-ui/yh-ui
|
|
2
|
+
|
|
3
|
+
<p align="center">
|
|
4
|
+
<img src="https://raw.githubusercontent.com/1079161148/yh-ui/main/docs/public/logo.svg" width="120" height="120" alt="YH-UI Logo">
|
|
5
|
+
</p>
|
|
6
|
+
|
|
7
|
+
<h1 align="center">YH-UI</h1>
|
|
8
|
+
|
|
9
|
+
<p align="center">
|
|
10
|
+
基于 Vue 3.5+ 的现代企业级组件库 · 行业领先主题系统 · 67 种国际化语言 · 原生 Nuxt 3 支持
|
|
11
|
+
</p>
|
|
12
|
+
|
|
13
|
+
<p align="center">
|
|
14
|
+
<a href="https://www.npmjs.com/package/@yh-ui/yh-ui">
|
|
15
|
+
<img src="https://img.shields.io/npm/v/@yh-ui/yh-ui.svg?style=flat-square&colorB=409eff" alt="npm version">
|
|
16
|
+
</a>
|
|
17
|
+
<a href="https://1079161148.github.io/yh-ui/">📖 文档</a> ·
|
|
18
|
+
<a href="https://1079161148.github.io/yh-ui/guide/quickstart">🚀 快速开始</a>
|
|
19
|
+
</p>
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## ✨ 核心亮点
|
|
24
|
+
|
|
25
|
+
- **🎨 行业领先的主题系统**:12 种预设主题,支持色盲模式,丝滑切换动画。
|
|
26
|
+
- **🌍 67 种国际化语言**:全量内置多国语言,支持动态切换。
|
|
27
|
+
- **📊 企业级 Table**:支持虚拟滚动、拖拽、打印导出,极致性能体验。
|
|
28
|
+
- **🔌 原生 Nuxt 3 支持**:提供内置模块,零配置支持 SSR。
|
|
29
|
+
- **📦 极致轻量**:原生 Tree-shaking 支持,按需加载。
|
|
30
|
+
|
|
31
|
+
## 📦 安装
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
# pnpm
|
|
35
|
+
pnpm add @yh-ui/yh-ui
|
|
36
|
+
|
|
37
|
+
# npm
|
|
38
|
+
npm install @yh-ui/yh-ui
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## 🔨 快速开始
|
|
42
|
+
|
|
43
|
+
```ts
|
|
44
|
+
import { createApp } from 'vue'
|
|
45
|
+
import YhUI from '@yh-ui/yh-ui'
|
|
46
|
+
import '@yh-ui/yh-ui/css'
|
|
47
|
+
|
|
48
|
+
const app = createApp(App)
|
|
49
|
+
app.use(YhUI)
|
|
50
|
+
app.mount('#app')
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## 🔗 相关资源
|
|
54
|
+
|
|
55
|
+
- [📖 官方文档](https://1079161148.github.io/yh-ui/)
|
|
56
|
+
- [📦 GitHub 仓库](https://github.com/1079161148/yh-ui)
|
|
57
|
+
- [📝 更新日志](https://github.com/1079161148/yh-ui/blob/main/CHANGELOG.md)
|
|
58
|
+
|
|
59
|
+
## 📄 开源协议
|
|
60
|
+
|
|
61
|
+
MIT License © 2024-present YH-UI Team
|
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yh-ui/yh-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"description": "YH-UI - A Modern Vue 3 Component Library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.mjs",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dist"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@yh-ui/
|
|
24
|
-
"@yh-ui/
|
|
25
|
-
"@yh-ui/
|
|
26
|
-
"@yh-ui/theme": "0.1.
|
|
23
|
+
"@yh-ui/components": "0.1.12",
|
|
24
|
+
"@yh-ui/hooks": "0.1.12",
|
|
25
|
+
"@yh-ui/utils": "0.1.12",
|
|
26
|
+
"@yh-ui/theme": "0.1.12"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"vue": "^3.5.27"
|