hy-app 0.7.1 → 0.7.3
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 +17 -1
- package/attributes.json +1 -1
- package/components/hy-list/hy-list.vue +360 -228
- package/components/hy-list/index.scss +0 -1
- package/components/hy-list/props.ts +69 -69
- package/components/hy-modal/props.ts +1 -1
- package/components/hy-modal/typing.d.ts +52 -16
- package/components/hy-number-step/hy-number-step.vue +1 -3
- package/libs/common/versionControl.ts +286 -102
- package/package.json +1 -1
- package/web-types.json +1 -1
- package/libs/composables/useTouch.md +0 -237
package/README.md
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
## 在线使用文档地址
|
|
2
2
|
- [华玥组件库文档(需要翻墙)](https://hy-component-docs.vercel.app/)
|
|
3
|
-
- [华玥组件库文档(国内旧地址,2025-11-12之后域名过期)](https://www.gxh151.top)
|
|
4
3
|
- [华玥组件库文档(国内新地址)](https://www.hy-design-uni.top)
|
|
5
4
|
|
|
6
5
|
## 📱 移动端预览
|
|
@@ -43,8 +42,19 @@ export function createApp () {
|
|
|
43
42
|
</template>
|
|
44
43
|
```
|
|
45
44
|
|
|
45
|
+
## 让 Volar/VS Code 识别组件
|
|
46
|
+
```json
|
|
47
|
+
// tsconfig.json
|
|
48
|
+
{
|
|
49
|
+
"compilerOptions": {
|
|
50
|
+
"types": ["hy-app/global"]
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
```
|
|
54
|
+
|
|
46
55
|
## 在page.json文件里面配置按需引入组件
|
|
47
56
|
```json
|
|
57
|
+
// page.json文件
|
|
48
58
|
{
|
|
49
59
|
"easycom": {
|
|
50
60
|
"custom": {
|
|
@@ -53,3 +63,9 @@ export function createApp () {
|
|
|
53
63
|
}
|
|
54
64
|
}
|
|
55
65
|
```
|
|
66
|
+
|
|
67
|
+
## 全局导入组件库样式(修改 uni.scss)
|
|
68
|
+
```scss ./uni.scss
|
|
69
|
+
// uni.scss文件
|
|
70
|
+
@use "hy-app/index.scss" as *;
|
|
71
|
+
```
|