@varlet/ui 1.26.6 → 1.26.7
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.en-US.md +14 -15
- package/README.md +19 -18
- package/es/index-bar/IndexBar.js +8 -14
- package/es/varlet.esm.js +7 -12
- package/highlight/web-types.json +1 -1
- package/lib/index-bar/IndexBar.js +7 -13
- package/package.json +5 -5
- package/umd/varlet.js +3 -3
package/README.en-US.md
CHANGED
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
</p>
|
|
10
10
|
<p>
|
|
11
11
|
<img src="https://img.shields.io/npm/v/@varlet/ui?style=flat-square" alt="version">
|
|
12
|
-
<img src="https://img.shields.io/github/stars/
|
|
12
|
+
<img src="https://img.shields.io/github/stars/varletjs/varlet" alt="stars">
|
|
13
13
|
<img src="https://img.shields.io/badge/vue-v3.2.0%2B-%23407fbc" alt="vue">
|
|
14
14
|
<img src="https://img.shields.io/npm/l/@varlet/ui.svg" alt="licence">
|
|
15
|
-
<img src="https://img.shields.io/codecov/c/github/
|
|
15
|
+
<img src="https://img.shields.io/codecov/c/github/varletjs/varlet" alt="coverage">
|
|
16
16
|
<img src="https://img.badgesize.io/https://unpkg.com/@varlet/ui/umd/varlet.js?compression=gzip&label=gzip" alt="gzip" />
|
|
17
17
|
<img src="https://github.com/varletjs/varlet/workflows/CI/badge.svg" alt="ci">
|
|
18
18
|
</p>
|
|
@@ -26,17 +26,17 @@ Varlet is a Material design mobile component library developed based on `Vue3`,
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
### Features
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
29
|
+
- 🚀 Provide 50 high quality general purpose components
|
|
30
|
+
- 🚀 Components are very lightweight
|
|
31
|
+
- 💪 Developed by Chinese, complete Chinese and English documentation and logistics support
|
|
32
|
+
- 🛠️ Support on-demand introduction
|
|
33
|
+
- 🛠️ Support theme customization
|
|
34
|
+
- 🌍 Support internationalization
|
|
35
|
+
- 💡 Support WebStorm, VS Code component syntax highlighting
|
|
36
|
+
- 💪 Support the SSR
|
|
37
|
+
- 💡 Support the Typescript
|
|
38
|
+
- 💪 Make sure more than 90 percent unit test coverage, providing stability assurance
|
|
39
|
+
- 🛠️ Support dark mode
|
|
40
40
|
|
|
41
41
|
### Install
|
|
42
42
|
|
|
@@ -56,7 +56,6 @@ Varlet is a Material design mobile component library developed based on `Vue3`,
|
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
### Webpack / Vite
|
|
59
|
-
|
|
60
59
|
```shell
|
|
61
60
|
# Install with npm or yarn or pnpm
|
|
62
61
|
|
|
@@ -83,4 +82,4 @@ createApp(App).use(Varlet).mount('#app')
|
|
|
83
82
|
|
|
84
83
|
<a href="https://github.com/varletjs/varlet/graphs/contributors">
|
|
85
84
|
<img src="https://contrib.rocks/image?repo=haoziqaq/varlet" />
|
|
86
|
-
</a>
|
|
85
|
+
</a>
|
package/README.md
CHANGED
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
<img src="https://varlet.gitee.io/varlet-ui/logo.svg" width="150">
|
|
4
4
|
</a>
|
|
5
5
|
<h1>VARLET</h1>
|
|
6
|
-
<p>基于Vue3的Material design风格移动端组件库</p>
|
|
6
|
+
<p>基于 Vue3 的 Material design 风格移动端组件库</p>
|
|
7
7
|
<p>
|
|
8
8
|
<a href="https://varlet.gitee.io/varlet-ui/">开发文档</a> | <a href="https://github.com/varletjs/varlet/blob/dev/README.en-US.md">English</a>
|
|
9
9
|
</p>
|
|
10
10
|
<p>
|
|
11
11
|
<img src="https://img.shields.io/npm/v/@varlet/ui?style=flat-square" alt="version">
|
|
12
|
-
<img src="https://img.shields.io/github/stars/
|
|
12
|
+
<img src="https://img.shields.io/github/stars/varletjs/varlet" alt="stars">
|
|
13
13
|
<img src="https://img.shields.io/badge/vue-v3.2.0%2B-%23407fbc" alt="vue">
|
|
14
14
|
<img src="https://img.shields.io/npm/l/@varlet/ui.svg" alt="licence">
|
|
15
|
-
<img src="https://img.shields.io/codecov/c/github/
|
|
15
|
+
<img src="https://img.shields.io/codecov/c/github/varletjs/varlet" alt="coverage">
|
|
16
16
|
<img src="https://img.badgesize.io/https://unpkg.com/@varlet/ui/umd/varlet.js?compression=gzip&label=gzip" alt="gzip" />
|
|
17
17
|
<img src="https://github.com/varletjs/varlet/workflows/CI/badge.svg" alt="ci">
|
|
18
18
|
</p>
|
|
@@ -22,25 +22,25 @@
|
|
|
22
22
|
|
|
23
23
|
### 介绍
|
|
24
24
|
|
|
25
|
-
Varlet
|
|
25
|
+
Varlet 是一个基于 `Vue3` 开发的 Material 风格移动端组件库,全面拥抱 `Vue3` 生态,由社区建立起来的组件库团队进行维护。
|
|
26
26
|
|
|
27
27
|
### 特性
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
28
|
+
- 🚀 提供50个高质量通用组件
|
|
29
|
+
- 🚀 组件十分轻量
|
|
30
|
+
- 💪 由国人开发,完善的中英文文档和后勤保障
|
|
31
|
+
- 🛠️ 支持按需引入
|
|
32
|
+
- 🛠️ 支持主题定制
|
|
33
|
+
- 🌍 支持国际化
|
|
34
|
+
- 💡 支持 webstorm,vscode 组件属性高亮
|
|
35
|
+
- 💪 支持 SSR
|
|
36
|
+
- 💡 支持 Typescript
|
|
37
|
+
- 💪 确保90%以上单元测试覆盖率,提供稳定性保证
|
|
38
|
+
- 🛠️ 支持暗黑模式
|
|
39
39
|
|
|
40
40
|
### 安装
|
|
41
41
|
|
|
42
42
|
### CDN
|
|
43
|
-
`varlet.js
|
|
43
|
+
`varlet.js` 包含组件库的所有样式和逻辑,引入即可。
|
|
44
44
|
|
|
45
45
|
```html
|
|
46
46
|
<div id="app"></div>
|
|
@@ -56,7 +56,7 @@ Varlet是一个基于`Vue3`开发的Material风格移动端组件库,全面拥
|
|
|
56
56
|
|
|
57
57
|
### Webpack / Vite
|
|
58
58
|
```shell
|
|
59
|
-
# 通过npm或yarn或pnpm安装
|
|
59
|
+
# 通过 npm 或 yarn 或 pnpm 安装
|
|
60
60
|
|
|
61
61
|
# npm
|
|
62
62
|
npm i @varlet/ui -S
|
|
@@ -80,5 +80,6 @@ createApp(App).use(Varlet).mount('#app')
|
|
|
80
80
|
### Contributors
|
|
81
81
|
|
|
82
82
|
<a href="https://github.com/varletjs/varlet/graphs/contributors">
|
|
83
|
-
<img src="https://contrib.rocks/image?repo=
|
|
83
|
+
<img src="https://contrib.rocks/image?repo=varletjs/varlet" />
|
|
84
84
|
</a>
|
|
85
|
+
|
package/es/index-bar/IndexBar.js
CHANGED
|
@@ -4,7 +4,7 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
|
|
4
4
|
|
|
5
5
|
import { computed, defineComponent, ref, watch, onMounted, onBeforeUnmount } from 'vue';
|
|
6
6
|
import { easeInOutCubic, isPlainObject, toNumber } from '../utils/shared';
|
|
7
|
-
import { doubleRaf, getParentScroller, getScrollLeft, nextTickFrame, requestAnimationFrame, scrollTo as varScrollTo } from '../utils/elements';
|
|
7
|
+
import { doubleRaf, getParentScroller, getScrollLeft, getScrollTop, nextTickFrame, requestAnimationFrame, scrollTo as varScrollTo } from '../utils/elements';
|
|
8
8
|
import { useIndexAnchors } from './provide';
|
|
9
9
|
import { props } from './props';
|
|
10
10
|
import { renderSlot as _renderSlot, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
@@ -55,7 +55,6 @@ export default defineComponent({
|
|
|
55
55
|
indexAnchors,
|
|
56
56
|
bindIndexAnchors
|
|
57
57
|
} = useIndexAnchors();
|
|
58
|
-
var scrollEl = ref(null);
|
|
59
58
|
var clickedName = ref('');
|
|
60
59
|
var scroller = ref(null);
|
|
61
60
|
var barEl = ref(null);
|
|
@@ -82,10 +81,8 @@ export default defineComponent({
|
|
|
82
81
|
};
|
|
83
82
|
|
|
84
83
|
var handleScroll = () => {
|
|
85
|
-
var
|
|
86
|
-
|
|
87
|
-
scrollHeight
|
|
88
|
-
} = scrollEl.value;
|
|
84
|
+
var scrollTop = getScrollTop(scroller.value);
|
|
85
|
+
var scrollHeight = scroller.value === window ? document.body.scrollHeight : scroller.value.scrollHeight;
|
|
89
86
|
var {
|
|
90
87
|
offsetTop
|
|
91
88
|
} = barEl.value;
|
|
@@ -120,10 +117,10 @@ export default defineComponent({
|
|
|
120
117
|
});
|
|
121
118
|
if (!indexAnchor) return;
|
|
122
119
|
var top = indexAnchor.ownTop.value - stickyOffsetTop.value + offsetTop;
|
|
123
|
-
var left = getScrollLeft(
|
|
120
|
+
var left = getScrollLeft(scroller.value);
|
|
124
121
|
clickedName.value = anchorName;
|
|
125
122
|
emitEvent(anchorName);
|
|
126
|
-
yield varScrollTo(
|
|
123
|
+
yield varScrollTo(scroller.value, {
|
|
127
124
|
left,
|
|
128
125
|
top,
|
|
129
126
|
animation: easeInOutCubic,
|
|
@@ -156,17 +153,14 @@ export default defineComponent({
|
|
|
156
153
|
});
|
|
157
154
|
}));
|
|
158
155
|
onMounted( /*#__PURE__*/_asyncToGenerator(function* () {
|
|
159
|
-
var _scroller$value;
|
|
160
|
-
|
|
161
156
|
yield doubleRaf();
|
|
162
157
|
scroller.value = getParentScroller(barEl.value);
|
|
163
|
-
|
|
164
|
-
(_scroller$value = scroller.value) == null ? void 0 : _scroller$value.addEventListener('scroll', handleScroll);
|
|
158
|
+
scroller.value.addEventListener('scroll', handleScroll);
|
|
165
159
|
}));
|
|
166
160
|
onBeforeUnmount(() => {
|
|
167
|
-
var _scroller$
|
|
161
|
+
var _scroller$value;
|
|
168
162
|
|
|
169
|
-
(_scroller$
|
|
163
|
+
(_scroller$value = scroller.value) == null ? void 0 : _scroller$value.removeEventListener('scroll', handleScroll);
|
|
170
164
|
});
|
|
171
165
|
return {
|
|
172
166
|
barEl,
|
package/es/varlet.esm.js
CHANGED
|
@@ -9872,7 +9872,6 @@ var IndexBar = defineComponent({
|
|
|
9872
9872
|
indexAnchors,
|
|
9873
9873
|
bindIndexAnchors
|
|
9874
9874
|
} = useIndexAnchors();
|
|
9875
|
-
var scrollEl = ref(null);
|
|
9876
9875
|
var clickedName = ref("");
|
|
9877
9876
|
var scroller2 = ref(null);
|
|
9878
9877
|
var barEl = ref(null);
|
|
@@ -9898,10 +9897,8 @@ var IndexBar = defineComponent({
|
|
|
9898
9897
|
props2.onChange == null ? void 0 : props2.onChange(anchorName);
|
|
9899
9898
|
};
|
|
9900
9899
|
var handleScroll = () => {
|
|
9901
|
-
var
|
|
9902
|
-
|
|
9903
|
-
scrollHeight
|
|
9904
|
-
} = scrollEl.value;
|
|
9900
|
+
var scrollTop = getScrollTop(scroller2.value);
|
|
9901
|
+
var scrollHeight = scroller2.value === window ? document.body.scrollHeight : scroller2.value.scrollHeight;
|
|
9905
9902
|
var {
|
|
9906
9903
|
offsetTop
|
|
9907
9904
|
} = barEl.value;
|
|
@@ -9936,10 +9933,10 @@ var IndexBar = defineComponent({
|
|
|
9936
9933
|
if (!indexAnchor)
|
|
9937
9934
|
return;
|
|
9938
9935
|
var top = indexAnchor.ownTop.value - stickyOffsetTop.value + offsetTop;
|
|
9939
|
-
var left = getScrollLeft(
|
|
9936
|
+
var left = getScrollLeft(scroller2.value);
|
|
9940
9937
|
clickedName.value = anchorName;
|
|
9941
9938
|
emitEvent(anchorName);
|
|
9942
|
-
yield scrollTo(
|
|
9939
|
+
yield scrollTo(scroller2.value, {
|
|
9943
9940
|
left,
|
|
9944
9941
|
top,
|
|
9945
9942
|
animation: easeInOutCubic,
|
|
@@ -9969,15 +9966,13 @@ var IndexBar = defineComponent({
|
|
|
9969
9966
|
});
|
|
9970
9967
|
}));
|
|
9971
9968
|
onMounted(/* @__PURE__ */ _asyncToGenerator$4(function* () {
|
|
9972
|
-
var _scroller$value;
|
|
9973
9969
|
yield doubleRaf();
|
|
9974
9970
|
scroller2.value = getParentScroller(barEl.value);
|
|
9975
|
-
|
|
9976
|
-
(_scroller$value = scroller2.value) == null ? void 0 : _scroller$value.addEventListener("scroll", handleScroll);
|
|
9971
|
+
scroller2.value.addEventListener("scroll", handleScroll);
|
|
9977
9972
|
}));
|
|
9978
9973
|
onBeforeUnmount(() => {
|
|
9979
|
-
var _scroller$
|
|
9980
|
-
(_scroller$
|
|
9974
|
+
var _scroller$value;
|
|
9975
|
+
(_scroller$value = scroller2.value) == null ? void 0 : _scroller$value.removeEventListener("scroll", handleScroll);
|
|
9981
9976
|
});
|
|
9982
9977
|
return {
|
|
9983
9978
|
barEl,
|
package/highlight/web-types.json
CHANGED
|
@@ -66,7 +66,6 @@ var _default = (0, _vue.defineComponent)({
|
|
|
66
66
|
indexAnchors,
|
|
67
67
|
bindIndexAnchors
|
|
68
68
|
} = (0, _provide.useIndexAnchors)();
|
|
69
|
-
var scrollEl = (0, _vue.ref)(null);
|
|
70
69
|
var clickedName = (0, _vue.ref)('');
|
|
71
70
|
var scroller = (0, _vue.ref)(null);
|
|
72
71
|
var barEl = (0, _vue.ref)(null);
|
|
@@ -93,10 +92,8 @@ var _default = (0, _vue.defineComponent)({
|
|
|
93
92
|
};
|
|
94
93
|
|
|
95
94
|
var handleScroll = () => {
|
|
96
|
-
var
|
|
97
|
-
|
|
98
|
-
scrollHeight
|
|
99
|
-
} = scrollEl.value;
|
|
95
|
+
var scrollTop = (0, _elements.getScrollTop)(scroller.value);
|
|
96
|
+
var scrollHeight = scroller.value === window ? document.body.scrollHeight : scroller.value.scrollHeight;
|
|
100
97
|
var {
|
|
101
98
|
offsetTop
|
|
102
99
|
} = barEl.value;
|
|
@@ -131,10 +128,10 @@ var _default = (0, _vue.defineComponent)({
|
|
|
131
128
|
});
|
|
132
129
|
if (!indexAnchor) return;
|
|
133
130
|
var top = indexAnchor.ownTop.value - stickyOffsetTop.value + offsetTop;
|
|
134
|
-
var left = (0, _elements.getScrollLeft)(
|
|
131
|
+
var left = (0, _elements.getScrollLeft)(scroller.value);
|
|
135
132
|
clickedName.value = anchorName;
|
|
136
133
|
emitEvent(anchorName);
|
|
137
|
-
yield (0, _elements.scrollTo)(
|
|
134
|
+
yield (0, _elements.scrollTo)(scroller.value, {
|
|
138
135
|
left,
|
|
139
136
|
top,
|
|
140
137
|
animation: _shared.easeInOutCubic,
|
|
@@ -167,17 +164,14 @@ var _default = (0, _vue.defineComponent)({
|
|
|
167
164
|
});
|
|
168
165
|
}));
|
|
169
166
|
(0, _vue.onMounted)( /*#__PURE__*/_asyncToGenerator(function* () {
|
|
170
|
-
var _scroller$value;
|
|
171
|
-
|
|
172
167
|
yield (0, _elements.doubleRaf)();
|
|
173
168
|
scroller.value = (0, _elements.getParentScroller)(barEl.value);
|
|
174
|
-
|
|
175
|
-
(_scroller$value = scroller.value) == null ? void 0 : _scroller$value.addEventListener('scroll', handleScroll);
|
|
169
|
+
scroller.value.addEventListener('scroll', handleScroll);
|
|
176
170
|
}));
|
|
177
171
|
(0, _vue.onBeforeUnmount)(() => {
|
|
178
|
-
var _scroller$
|
|
172
|
+
var _scroller$value;
|
|
179
173
|
|
|
180
|
-
(_scroller$
|
|
174
|
+
(_scroller$value = scroller.value) == null ? void 0 : _scroller$value.removeEventListener('scroll', handleScroll);
|
|
181
175
|
});
|
|
182
176
|
return {
|
|
183
177
|
barEl,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@varlet/ui",
|
|
3
|
-
"version": "1.26.
|
|
3
|
+
"version": "1.26.7",
|
|
4
4
|
"description": "A material like components library",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
},
|
|
40
40
|
"gitHead": "ee9c3866bedad96c86365b0f9888a3a6bb781b1f",
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@varlet/icons": "1.26.
|
|
42
|
+
"@varlet/icons": "1.26.7",
|
|
43
43
|
"dayjs": "^1.10.4",
|
|
44
44
|
"decimal.js": "^10.2.1"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@varlet/cli": "1.26.
|
|
48
|
-
"@varlet/touch-emulator": "1.26.
|
|
47
|
+
"@varlet/cli": "1.26.7",
|
|
48
|
+
"@varlet/touch-emulator": "1.26.7",
|
|
49
49
|
"@vue/test-utils": "2.0.0-rc.6",
|
|
50
50
|
"@vue/runtime-core": "3.2.25",
|
|
51
51
|
"typescript": "^4.4.4",
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"test:watch": "varlet-cli jest -w",
|
|
70
70
|
"test:watchAll": "varlet-cli jest -wa"
|
|
71
71
|
},
|
|
72
|
-
"readme": "<div align=\"center\">\n <a href=\"https://varlet.gitee.io/varlet-ui/\">\n <img src=\"https://varlet.gitee.io/varlet-ui/logo.svg\" width=\"150\">\n </a>\n <h1>VARLET</h1>\n <p>基于Vue3的Material design风格移动端组件库</p>\n <p>\n <a href=\"https://varlet.gitee.io/varlet-ui/\">开发文档</a> | <a href=\"https://github.com/varletjs/varlet/blob/dev/README.en-US.md\">English</a>\n </p>\n <p>\n <img src=\"https://img.shields.io/npm/v/@varlet/ui?style=flat-square\" alt=\"version\">\n <img src=\"https://img.shields.io/github/stars/
|
|
72
|
+
"readme": "<div align=\"center\">\n <a href=\"https://varlet.gitee.io/varlet-ui/\">\n <img src=\"https://varlet.gitee.io/varlet-ui/logo.svg\" width=\"150\">\n </a>\n <h1>VARLET</h1>\n <p>基于 Vue3 的 Material design 风格移动端组件库</p>\n <p>\n <a href=\"https://varlet.gitee.io/varlet-ui/\">开发文档</a> | <a href=\"https://github.com/varletjs/varlet/blob/dev/README.en-US.md\">English</a>\n </p>\n <p>\n <img src=\"https://img.shields.io/npm/v/@varlet/ui?style=flat-square\" alt=\"version\">\n <img src=\"https://img.shields.io/github/stars/varletjs/varlet\" alt=\"stars\">\n <img src=\"https://img.shields.io/badge/vue-v3.2.0%2B-%23407fbc\" alt=\"vue\">\n <img src=\"https://img.shields.io/npm/l/@varlet/ui.svg\" alt=\"licence\">\n <img src=\"https://img.shields.io/codecov/c/github/varletjs/varlet\" alt=\"coverage\">\n <img src=\"https://img.badgesize.io/https://unpkg.com/@varlet/ui/umd/varlet.js?compression=gzip&label=gzip\" alt=\"gzip\" />\n <img src=\"https://github.com/varletjs/varlet/workflows/CI/badge.svg\" alt=\"ci\">\n </p>\n</div>\n\n---\n\n### 介绍\n\nVarlet 是一个基于 `Vue3` 开发的 Material 风格移动端组件库,全面拥抱 `Vue3` 生态,由社区建立起来的组件库团队进行维护。\n\n### 特性\n- 🚀 提供50个高质量通用组件 \n- 🚀 组件十分轻量\n- 💪 由国人开发,完善的中英文文档和后勤保障\n- 🛠️ 支持按需引入\n- 🛠️ 支持主题定制\n- 🌍 支持国际化\n- 💡 支持 webstorm,vscode 组件属性高亮\n- 💪 支持 SSR\n- 💡 支持 Typescript \n- 💪 确保90%以上单元测试覆盖率,提供稳定性保证\n- 🛠️ 支持暗黑模式\n\n### 安装\n\n### CDN\n`varlet.js` 包含组件库的所有样式和逻辑,引入即可。\n\n```html\n<div id=\"app\"></div>\n<script src=\"https://cdn.jsdelivr.net/npm/vue@next\"></script>\n<script src=\"https://cdn.jsdelivr.net/npm/@varlet/ui/umd/varlet.js\"></script>\n<script>\n const app = Vue.createApp({\n template: '<var-button>按钮</var-button>'\n })\n app.use(Varlet).mount('#app')\n</script>\n```\n\n### Webpack / Vite\n```shell\n# 通过 npm 或 yarn 或 pnpm 安装\n\n# npm\nnpm i @varlet/ui -S\n\n# yarn\nyarn add @varlet/ui\n\n# pnpm\npnpm add @varlet/ui\n```\n\n```js\nimport App from './App.vue'\nimport Varlet from '@varlet/ui'\nimport { createApp } from 'vue'\nimport '@varlet/ui/es/style.js'\n\ncreateApp(App).use(Varlet).mount('#app')\n```\n\n### Contributors\n\n<a href=\"https://github.com/varletjs/varlet/graphs/contributors\">\n <img src=\"https://contrib.rocks/image?repo=varletjs/varlet\" />\n</a>\n\n"
|
|
73
73
|
}
|