rx-arco-compo 1.0.0 → 1.0.1
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 +42 -3
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/rx-arco-compo.css +1 -1
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
1
|
-
#
|
|
1
|
+
# rx-arco-compo
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
瑞雪后台组件库(Vue 3 + TypeScript + Arco Design)。
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## 安装
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# npm
|
|
9
|
+
npm i rx-arco-compo
|
|
10
|
+
|
|
11
|
+
# pnpm
|
|
12
|
+
pnpm add rx-arco-compo
|
|
13
|
+
|
|
14
|
+
# yarn
|
|
15
|
+
yarn add rx-arco-compo
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## 引入
|
|
19
|
+
|
|
20
|
+
### 全量引入(推荐在入口文件注册)
|
|
21
|
+
|
|
22
|
+
```ts
|
|
23
|
+
// main.ts
|
|
24
|
+
import { createApp } from 'vue'
|
|
25
|
+
import App from './App.vue'
|
|
26
|
+
|
|
27
|
+
import RxArcoCompo from 'rx-arco-compo'
|
|
28
|
+
import 'rx-arco-compo/style.css'
|
|
29
|
+
|
|
30
|
+
const app = createApp(App)
|
|
31
|
+
app.use(RxArcoCompo)
|
|
32
|
+
app.mount('#app')
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### 按需引入(仅引入单个组件)
|
|
36
|
+
|
|
37
|
+
```ts
|
|
38
|
+
import { RxTablePlus } from 'rx-arco-compo'
|
|
39
|
+
import 'rx-arco-compo/style.css'
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## 依赖说明
|
|
43
|
+
|
|
44
|
+
该组件库依赖 `vue@^3` 与 `@arco-design/web-vue`,请确保项目中已安装。
|
package/dist/index.es.js
CHANGED
|
@@ -16237,7 +16237,7 @@ function up(e, t, n, o, r, i) {
|
|
|
16237
16237
|
const cp = /* @__PURE__ */ De(tp, [["render", up]]), dp = [Hl, xr, Mo, cp], fp = (e) => {
|
|
16238
16238
|
dp.forEach((t) => {
|
|
16239
16239
|
const n = t?.name;
|
|
16240
|
-
n && e.component(n, t);
|
|
16240
|
+
console.log("name", n), n && e.component(n, t);
|
|
16241
16241
|
});
|
|
16242
16242
|
}, vp = { install: fp };
|
|
16243
16243
|
export {
|