morya-ui 0.4.3 → 0.4.4
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/CHANGELOG.md +780 -769
- package/LICENSE +21 -21
- package/README.md +156 -150
- package/README.zh-CN.md +156 -150
- package/dist/accordion/style.css +1205 -1205
- package/dist/affix/style.css +1205 -1205
- package/dist/alert/style.css +1205 -1205
- package/dist/anchor/style.css +1205 -1205
- package/dist/auto-complete/style.css +1749 -1749
- package/dist/avatar/style.css +1318 -1318
- package/dist/badge/style.css +1371 -1371
- package/dist/block-ui/style.css +1205 -1205
- package/dist/breadcrumb/style.css +1205 -1205
- package/dist/button/style.css +1909 -1909
- package/dist/calendar/style.css +1880 -1880
- package/dist/card/style.css +1205 -1205
- package/dist/carousel/style.css +2208 -2208
- package/dist/cascade-select/style.css +1909 -1909
- package/dist/checkbox/style.css +1205 -1205
- package/dist/chip/style.css +1349 -1349
- package/dist/command-menu/style.css +1438 -1438
- package/dist/components/AutoComplete/styles.css +209 -209
- package/dist/components/Avatar/styles.css +113 -113
- package/dist/components/Badge/styles.css +164 -164
- package/dist/components/Button/styles.css +698 -698
- package/dist/components/Carousel/styles.css +302 -302
- package/dist/components/CascadeSelect/styles.css +168 -168
- package/dist/components/Chip/styles.css +144 -144
- package/dist/components/CommandMenu/styles.css +102 -102
- package/dist/components/ConfigProvider/styles.css +6 -6
- package/dist/components/ConfirmDialog/styles.css +24 -24
- package/dist/components/ConfirmPopup/styles.css +35 -35
- package/dist/components/ContextMenu/styles.css +138 -138
- package/dist/components/DatePicker/styles.css +453 -453
- package/dist/components/Dialog/styles.css +420 -420
- package/dist/components/Dock/styles.css +84 -84
- package/dist/components/Drawer/styles.css +346 -346
- package/dist/components/Dropdown/styles.css +135 -135
- package/dist/components/Empty/styles.css +146 -146
- package/dist/components/FileUpload/styles.css +359 -359
- package/dist/components/Form/Form.vue.d.ts.map +1 -1
- package/dist/components/Form/styles.css +125 -125
- package/dist/components/Gallery/styles.css +100 -100
- package/dist/components/Input/styles.css +392 -392
- package/dist/components/InputColor/styles.css +139 -139
- package/dist/components/InputNumber/styles.css +262 -262
- package/dist/components/InputPassword/styles.css +189 -189
- package/dist/components/InputTags/styles.css +121 -121
- package/dist/components/Layout/styles.css +433 -433
- package/dist/components/List/styles.css +229 -229
- package/dist/components/Listbox/styles.css +130 -130
- package/dist/components/Loading/styles.css +378 -378
- package/dist/components/MegaMenu/styles.css +97 -97
- package/dist/components/Menu/styles.css +565 -565
- package/dist/components/Menubar/styles.css +144 -144
- package/dist/components/Message/styles.css +248 -248
- package/dist/components/MeterGroup/styles.css +49 -49
- package/dist/components/Page/styles.css +430 -430
- package/dist/components/Pagination/styles.css +124 -124
- package/dist/components/Popover/styles.css +92 -92
- package/dist/components/Result/styles.css +146 -146
- package/dist/components/Scrollbar/styles.css +131 -131
- package/dist/components/Select/styles.css +222 -222
- package/dist/components/SelectButton/styles.css +107 -107
- package/dist/components/Sidebar/styles.css +74 -74
- package/dist/components/Slider/styles.css +211 -211
- package/dist/components/SplitButton/styles.css +216 -216
- package/dist/components/Status/styles.css +190 -190
- package/dist/components/Stepper/styles.css +152 -152
- package/dist/components/Switch/styles.css +129 -129
- package/dist/components/Tabs/styles.css +165 -165
- package/dist/components/Terminal/styles.css +75 -75
- package/dist/components/Textarea/styles.css +146 -146
- package/dist/components/TieredMenu/styles.css +125 -125
- package/dist/components/Timeline/styles.css +157 -157
- package/dist/components/TreeSelect/styles.css +172 -172
- package/dist/components/VirtualScroller/styles.css +27 -27
- package/dist/config-provider/style.css +2301 -2301
- package/dist/confirm-dialog/style.css +2347 -2347
- package/dist/confirm-popup/style.css +1938 -1938
- package/dist/context-menu/style.css +1474 -1474
- package/dist/data-view/style.css +1707 -1707
- package/dist/date-picker/style.css +1658 -1658
- package/dist/descriptions/style.css +1205 -1205
- package/dist/dialog/style.css +2323 -2323
- package/dist/divider/style.css +1205 -1205
- package/dist/dock/style.css +1289 -1289
- package/dist/drawer/style.css +1551 -1551
- package/dist/dropdown/style.css +1471 -1471
- package/dist/empty/style.css +1351 -1351
- package/dist/fieldset/style.css +1205 -1205
- package/dist/file-upload/style.css +1564 -1564
- package/dist/flex/style.css +1205 -1205
- package/dist/float-label/style.css +1205 -1205
- package/dist/fluid/style.css +1205 -1205
- package/dist/form/style.css +1332 -1332
- package/dist/gallery/style.css +1436 -1436
- package/dist/grid/style.css +1205 -1205
- package/dist/icon/style.css +1205 -1205
- package/dist/icon-field/style.css +1597 -1597
- package/dist/image/style.css +1205 -1205
- package/dist/inplace/style.css +1205 -1205
- package/dist/input/style.css +1722 -1722
- package/dist/input-color/style.css +1346 -1346
- package/dist/input-group/style.css +1205 -1205
- package/dist/input-number/style.css +1467 -1467
- package/dist/input-otp/style.css +1205 -1205
- package/dist/input-password/style.css +1519 -1519
- package/dist/input-tags/style.css +1326 -1326
- package/dist/knob/style.css +1205 -1205
- package/dist/label/style.css +1205 -1205
- package/dist/layout/style.css +1769 -1769
- package/dist/list/style.css +2087 -2087
- package/dist/listbox/style.css +1497 -1497
- package/dist/loading/style.css +1585 -1585
- package/dist/mega-menu/style.css +1302 -1302
- package/dist/mentions/style.css +1330 -1330
- package/dist/menu/style.css +2059 -2059
- package/dist/menubar/style.css +1480 -1480
- package/dist/message/style.css +1453 -1453
- package/dist/meter-group/style.css +1256 -1256
- package/dist/order-list/style.css +1205 -1205
- package/dist/page/style.css +2597 -2597
- package/dist/pagination/style.css +1551 -1551
- package/dist/panel/style.css +1205 -1205
- package/dist/pick-list/style.css +1205 -1205
- package/dist/popover/style.css +1299 -1299
- package/dist/progress-bar/style.css +1205 -1205
- package/dist/progress-spinner/style.css +1205 -1205
- package/dist/qr-code/style.css +1903 -1903
- package/dist/radio/style.css +1205 -1205
- package/dist/rating/style.css +1205 -1205
- package/dist/result/style.css +1351 -1351
- package/dist/scroll-top/style.css +1336 -1336
- package/dist/scrollbar/style.css +1338 -1338
- package/dist/segmented/style.css +1205 -1205
- package/dist/select/style.css +2115 -2115
- package/dist/select-button/style.css +1314 -1314
- package/dist/shared/styles/control-affix-icon.css +110 -110
- package/dist/shared/styles/control-suffix.css +118 -118
- package/dist/shared/styles/select-overlay.css +177 -177
- package/dist/sidebar/style.css +1279 -1279
- package/dist/skeleton/style.css +1205 -1205
- package/dist/slider/style.css +1418 -1418
- package/dist/space/style.css +1205 -1205
- package/dist/speed-dial/style.css +1205 -1205
- package/dist/split-button/style.css +2119 -2119
- package/dist/splitter/style.css +1205 -1205
- package/dist/statistic/style.css +1205 -1205
- package/dist/status/style.css +1395 -1395
- package/dist/stepper/style.css +1357 -1357
- package/dist/styles/base.css +804 -804
- package/dist/switch/style.css +1336 -1336
- package/dist/table/style.css +1840 -1840
- package/dist/tabs/style.css +1501 -1501
- package/dist/tag/style.css +1205 -1205
- package/dist/terminal/style.css +1282 -1282
- package/dist/textarea/style.css +1476 -1476
- package/dist/theme/styles.css +401 -401
- package/dist/tiered-menu/style.css +1461 -1461
- package/dist/time-picker/style.css +1660 -1660
- package/dist/timeline/style.css +1493 -1493
- package/dist/toast/style.css +1903 -1903
- package/dist/toggle-button/style.css +1205 -1205
- package/dist/toolbar/style.css +1205 -1205
- package/dist/tooltip/style.css +1205 -1205
- package/dist/tour/style.css +1903 -1903
- package/dist/tree/style.css +1205 -1205
- package/dist/tree-select/style.css +1913 -1913
- package/dist/typography/style.css +1351 -1351
- package/dist/virtual-scroller/style.css +1366 -1366
- package/dist/watermark/style.css +1205 -1205
- package/package.json +2 -1
package/README.zh-CN.md
CHANGED
|
@@ -1,150 +1,156 @@
|
|
|
1
|
-
<p align="center">
|
|
2
|
-
<a href="https://morya-space.github.io/morya-ui/">
|
|
3
|
-
<img src="./assets/logo.svg" alt="Morya UI" width="96" height="96" />
|
|
4
|
-
</a>
|
|
5
|
-
</p>
|
|
6
|
-
|
|
7
|
-
<h1 align="center">Morya UI</h1>
|
|
8
|
-
|
|
9
|
-
<p align="center">
|
|
10
|
-
带设计令牌、亮暗主题与交互式文档的 Vue 3 组件库。
|
|
11
|
-
</p>
|
|
12
|
-
|
|
13
|
-
<p align="center">
|
|
14
|
-
<a href="./README.md">English</a> | 中文
|
|
15
|
-
</p>
|
|
16
|
-
|
|
17
|
-
<p align="center">
|
|
18
|
-
<a href="https://www.npmjs.com/package/morya-ui"><img src="https://img.shields.io/npm/v/morya-ui?style=flat-square" alt="npm version" /></a>
|
|
19
|
-
<a href="https://www.npmjs.com/package/morya-ui"><img src="https://img.shields.io/npm/dm/morya-ui?style=flat-square" alt="npm downloads" /></a>
|
|
20
|
-
<a href="./LICENSE"><img src="https://img.shields.io/github/license/morya-space/morya-ui?style=flat-square" alt="license" /></a>
|
|
21
|
-
<a href="https://vuejs.org/"><img src="https://img.shields.io/badge/Vue-3-42b883?style=flat-square&logo=vue.js&logoColor=white" alt="Vue 3" /></a>
|
|
22
|
-
<a href="https://www.typescriptlang.org/"><img src="https://img.shields.io/badge/TypeScript-5.x-3178c6?style=flat-square&logo=typescript&logoColor=white" alt="TypeScript" /></a>
|
|
23
|
-
</p>
|
|
24
|
-
|
|
25
|
-
<p align="center">
|
|
26
|
-
<a href="https://morya-space.github.io/morya-ui/"><b>文档站</b></a>
|
|
27
|
-
·
|
|
28
|
-
<a href="https://morya-space.github.io/morya-ui/components">组件</a>
|
|
29
|
-
·
|
|
30
|
-
<a href="https://github.com/morya-space/morya-ui/issues">Issues</a>
|
|
31
|
-
·
|
|
32
|
-
<a href="./CHANGELOG.md">更新日志</a>
|
|
33
|
-
</p>
|
|
34
|
-
|
|
35
|
-
---
|
|
36
|
-
|
|
37
|
-
## 介绍
|
|
38
|
-
|
|
39
|
-
**Morya UI**(`morya-ui`)是一套开源的 Vue 3 组件库,提供 **90+ 个组件**、基于令牌的主题系统、内置国际化,以及带实时预览的文档站。
|
|
40
|
-
|
|
41
|
-
无论你是做管理后台、SaaS 产品还是内部工具,都可以直接使用统一的表单、浮层、数据展示与反馈能力。
|
|
42
|
-
|
|
43
|
-
## 特性
|
|
44
|
-
|
|
45
|
-
### 组件齐全
|
|
46
|
-
|
|
47
|
-
覆盖基础、表单、导航、数据展示、布局与反馈等 90+ 个组件,均支持 ESM 按需引入与 tree-shaking。
|
|
48
|
-
|
|
49
|
-
### 主题开箱即用
|
|
50
|
-
|
|
51
|
-
亮/暗色模式基于 `--m-*` CSS 变量;通过 `useTheme` 切换主题,用 `useDensity` / `useMotion` 调整密度与动效,子树可用 `MConfigProvider` 覆盖。
|
|
52
|
-
|
|
53
|
-
### TypeScript 优先
|
|
54
|
-
|
|
55
|
-
基于 Vue 3 Composition API 与 TypeScript 编写,Props、Emits 与 locale 均有完整类型。
|
|
56
|
-
|
|
57
|
-
### 多种接入方式
|
|
58
|
-
|
|
59
|
-
支持全量注册、按名导入、按需子路径,以及配合 `unplugin-vue-components` 的 `MoryaUIResolver`——同一应用内建议保持一致。
|
|
60
|
-
|
|
61
|
-
### 文档即预览
|
|
62
|
-
|
|
63
|
-
每个组件自带 Markdown 文档与可交互 `vue preview` 示例,可在线浏览或本地启动文档站。
|
|
64
|
-
|
|
65
|
-
### SSR 与元框架
|
|
66
|
-
|
|
67
|
-
兼容 **Nuxt 3**、**Astro + Vue**、**Vite SSR** 等场景;提供 [`@morya-ui/nuxt`](./packages/nuxt) 模块,详见 [SSR 指南](https://morya-space.github.io/morya-ui/docs/ssr)。
|
|
68
|
-
|
|
69
|
-
## 文档
|
|
70
|
-
|
|
71
|
-
**https://morya-space.github.io/morya-ui/**
|
|
72
|
-
|
|
73
|
-
| 章节 | 链接 |
|
|
74
|
-
| --- | --- |
|
|
75
|
-
| 快速上手 | [指南](https://morya-space.github.io/morya-ui/docs/quick-start) |
|
|
76
|
-
| 主题 | [主题](https://morya-space.github.io/morya-ui/docs/theme) |
|
|
77
|
-
| 全局配置 | [配置](https://morya-space.github.io/morya-ui/docs/config) |
|
|
78
|
-
| SSR | [Nuxt / Astro / Vite SSR](https://morya-space.github.io/morya-ui/docs/ssr) |
|
|
79
|
-
| 组件 | [目录](https://morya-space.github.io/morya-ui/components) |
|
|
80
|
-
| 更新日志 | [版本](https://morya-space.github.io/morya-ui/changelog) |
|
|
81
|
-
|
|
82
|
-
## 安装
|
|
83
|
-
|
|
84
|
-
需要 **Vue 3**(推荐 3.5 及以上),以及能解析包 `exports` 的构建工具(Vite、webpack 5+ 等)。
|
|
85
|
-
|
|
86
|
-
```bash
|
|
87
|
-
pnpm add morya-ui
|
|
88
|
-
# npm i morya-ui
|
|
89
|
-
# yarn add morya-ui
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
import {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
##
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://morya-space.github.io/morya-ui/">
|
|
3
|
+
<img src="./assets/logo.svg" alt="Morya UI" width="96" height="96" />
|
|
4
|
+
</a>
|
|
5
|
+
</p>
|
|
6
|
+
|
|
7
|
+
<h1 align="center">Morya UI</h1>
|
|
8
|
+
|
|
9
|
+
<p align="center">
|
|
10
|
+
带设计令牌、亮暗主题与交互式文档的 Vue 3 组件库。
|
|
11
|
+
</p>
|
|
12
|
+
|
|
13
|
+
<p align="center">
|
|
14
|
+
<a href="./README.md">English</a> | 中文
|
|
15
|
+
</p>
|
|
16
|
+
|
|
17
|
+
<p align="center">
|
|
18
|
+
<a href="https://www.npmjs.com/package/morya-ui"><img src="https://img.shields.io/npm/v/morya-ui?style=flat-square" alt="npm version" /></a>
|
|
19
|
+
<a href="https://www.npmjs.com/package/morya-ui"><img src="https://img.shields.io/npm/dm/morya-ui?style=flat-square" alt="npm downloads" /></a>
|
|
20
|
+
<a href="./LICENSE"><img src="https://img.shields.io/github/license/morya-space/morya-ui?style=flat-square" alt="license" /></a>
|
|
21
|
+
<a href="https://vuejs.org/"><img src="https://img.shields.io/badge/Vue-3-42b883?style=flat-square&logo=vue.js&logoColor=white" alt="Vue 3" /></a>
|
|
22
|
+
<a href="https://www.typescriptlang.org/"><img src="https://img.shields.io/badge/TypeScript-5.x-3178c6?style=flat-square&logo=typescript&logoColor=white" alt="TypeScript" /></a>
|
|
23
|
+
</p>
|
|
24
|
+
|
|
25
|
+
<p align="center">
|
|
26
|
+
<a href="https://morya-space.github.io/morya-ui/"><b>文档站</b></a>
|
|
27
|
+
·
|
|
28
|
+
<a href="https://morya-space.github.io/morya-ui/components">组件</a>
|
|
29
|
+
·
|
|
30
|
+
<a href="https://github.com/morya-space/morya-ui/issues">Issues</a>
|
|
31
|
+
·
|
|
32
|
+
<a href="./CHANGELOG.md">更新日志</a>
|
|
33
|
+
</p>
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## 介绍
|
|
38
|
+
|
|
39
|
+
**Morya UI**(`morya-ui`)是一套开源的 Vue 3 组件库,提供 **90+ 个组件**、基于令牌的主题系统、内置国际化,以及带实时预览的文档站。
|
|
40
|
+
|
|
41
|
+
无论你是做管理后台、SaaS 产品还是内部工具,都可以直接使用统一的表单、浮层、数据展示与反馈能力。
|
|
42
|
+
|
|
43
|
+
## 特性
|
|
44
|
+
|
|
45
|
+
### 组件齐全
|
|
46
|
+
|
|
47
|
+
覆盖基础、表单、导航、数据展示、布局与反馈等 90+ 个组件,均支持 ESM 按需引入与 tree-shaking。
|
|
48
|
+
|
|
49
|
+
### 主题开箱即用
|
|
50
|
+
|
|
51
|
+
亮/暗色模式基于 `--m-*` CSS 变量;通过 `useTheme` 切换主题,用 `useDensity` / `useMotion` 调整密度与动效,子树可用 `MConfigProvider` 覆盖。
|
|
52
|
+
|
|
53
|
+
### TypeScript 优先
|
|
54
|
+
|
|
55
|
+
基于 Vue 3 Composition API 与 TypeScript 编写,Props、Emits 与 locale 均有完整类型。
|
|
56
|
+
|
|
57
|
+
### 多种接入方式
|
|
58
|
+
|
|
59
|
+
支持全量注册、按名导入、按需子路径,以及配合 `unplugin-vue-components` 的 `MoryaUIResolver`——同一应用内建议保持一致。
|
|
60
|
+
|
|
61
|
+
### 文档即预览
|
|
62
|
+
|
|
63
|
+
每个组件自带 Markdown 文档与可交互 `vue preview` 示例,可在线浏览或本地启动文档站。
|
|
64
|
+
|
|
65
|
+
### SSR 与元框架
|
|
66
|
+
|
|
67
|
+
兼容 **Nuxt 3**、**Astro + Vue**、**Vite SSR** 等场景;提供 [`@morya-ui/nuxt`](./packages/nuxt) 模块,详见 [SSR 指南](https://morya-space.github.io/morya-ui/docs/ssr)。
|
|
68
|
+
|
|
69
|
+
## 文档
|
|
70
|
+
|
|
71
|
+
**https://morya-space.github.io/morya-ui/**
|
|
72
|
+
|
|
73
|
+
| 章节 | 链接 |
|
|
74
|
+
| --- | --- |
|
|
75
|
+
| 快速上手 | [指南](https://morya-space.github.io/morya-ui/docs/quick-start) |
|
|
76
|
+
| 主题 | [主题](https://morya-space.github.io/morya-ui/docs/theme) |
|
|
77
|
+
| 全局配置 | [配置](https://morya-space.github.io/morya-ui/docs/config) |
|
|
78
|
+
| SSR | [Nuxt / Astro / Vite SSR](https://morya-space.github.io/morya-ui/docs/ssr) |
|
|
79
|
+
| 组件 | [目录](https://morya-space.github.io/morya-ui/components) |
|
|
80
|
+
| 更新日志 | [版本](https://morya-space.github.io/morya-ui/changelog) |
|
|
81
|
+
|
|
82
|
+
## 安装
|
|
83
|
+
|
|
84
|
+
需要 **Vue 3**(推荐 3.5 及以上),以及能解析包 `exports` 的构建工具(Vite、webpack 5+ 等)。
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
pnpm add morya-ui
|
|
88
|
+
# npm i morya-ui
|
|
89
|
+
# yarn add morya-ui
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
或从零创建项目并自动完成全部配置:
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
npx @morya-ui/setup --create my-app
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
## 快速开始
|
|
99
|
+
|
|
100
|
+
全量注册并引入样式:
|
|
101
|
+
|
|
102
|
+
```ts
|
|
103
|
+
import MoryaUI from 'morya-ui'
|
|
104
|
+
import { createApp } from 'vue'
|
|
105
|
+
import App from './App.vue'
|
|
106
|
+
import 'morya-ui/styles.css'
|
|
107
|
+
|
|
108
|
+
createApp(App).use(MoryaUI).mount('#app')
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
按需引入(样式自动带入):
|
|
112
|
+
|
|
113
|
+
```ts
|
|
114
|
+
import { MButton } from 'morya-ui/button'
|
|
115
|
+
import { MInput } from 'morya-ui/input'
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
应用级默认配置(语言、尺寸、浮层挂载点等):
|
|
119
|
+
|
|
120
|
+
```ts
|
|
121
|
+
import { createMoryaUI, zhCN } from 'morya-ui'
|
|
122
|
+
|
|
123
|
+
createApp(App).use(createMoryaUI({ locale: zhCN })).mount('#app')
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
完整接入方式、Vite 解析器与主题 API 见 [快速上手](https://morya-space.github.io/morya-ui/docs/quick-start)。
|
|
127
|
+
|
|
128
|
+
## 生态
|
|
129
|
+
|
|
130
|
+
| 包 | 说明 |
|
|
131
|
+
| --- | --- |
|
|
132
|
+
| [`morya-ui`](https://www.npmjs.com/package/morya-ui) | 组件、样式、主题与语言工具 |
|
|
133
|
+
| [`@morya-ui/nuxt`](./packages/nuxt) | Nuxt 3 模块(样式、transpile、overlay 上下文) |
|
|
134
|
+
| [`@morya-ui/mcp`](https://www.npmjs.com/package/@morya-ui/mcp) | 可选 MCP 服务,供 AI 客户端检索文档 |
|
|
135
|
+
| [`@morya-ui/setup`](https://www.npmjs.com/package/@morya-ui/setup) | 业务项目一键接入:组件库、样式、Agent Skill、Cursor 规则与 MCP |
|
|
136
|
+
|
|
137
|
+
## 参与贡献
|
|
138
|
+
|
|
139
|
+
欢迎提交 Issue 与 Pull Request。请先阅读 [CONTRIBUTING.zh-CN.md](./CONTRIBUTING.zh-CN.md)。
|
|
140
|
+
|
|
141
|
+
维护者文档:[开发指南](./docs/DEVELOPMENT.zh-CN.md) · [发版脚本](./scripts/README.md)
|
|
142
|
+
|
|
143
|
+
## 本地开发
|
|
144
|
+
|
|
145
|
+
```bash
|
|
146
|
+
pnpm install
|
|
147
|
+
pnpm dev # 文档站 → http://localhost:5182
|
|
148
|
+
pnpm build # 组件库 → dist/
|
|
149
|
+
pnpm build:docs:pages # GitHub Pages 构建
|
|
150
|
+
pnpm test
|
|
151
|
+
pnpm typecheck
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
## 许可证
|
|
155
|
+
|
|
156
|
+
[MIT](./LICENSE) © Morya UI contributors
|