rayyy-vue-table-components 1.0.1 → 1.0.2
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 +8 -8
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
## 安裝
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
npm install
|
|
16
|
+
npm install rayyy-vue-table-components
|
|
17
17
|
# 或
|
|
18
|
-
yarn add
|
|
18
|
+
yarn add rayyy-vue-table-components
|
|
19
19
|
# 或
|
|
20
|
-
pnpm add
|
|
20
|
+
pnpm add rayyy-vue-table-components
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
## 使用方法
|
|
@@ -26,8 +26,8 @@ pnpm add @your-scope/vue-table-components
|
|
|
26
26
|
|
|
27
27
|
```typescript
|
|
28
28
|
import { createApp } from 'vue'
|
|
29
|
-
import VueTableComponents from '
|
|
30
|
-
import '
|
|
29
|
+
import VueTableComponents from 'rayyy-vue-table-components'
|
|
30
|
+
import 'rayyy-vue-table-components/dist/rayyy-vue-table-components.css'
|
|
31
31
|
|
|
32
32
|
const app = createApp(App)
|
|
33
33
|
app.use(VueTableComponents)
|
|
@@ -46,9 +46,9 @@ app.use(VueTableComponents)
|
|
|
46
46
|
</template>
|
|
47
47
|
|
|
48
48
|
<script setup lang="ts">
|
|
49
|
-
import { BaseTable } from '
|
|
50
|
-
import type { TableColumn, SortChangValue } from '
|
|
51
|
-
import '
|
|
49
|
+
import { BaseTable } from 'rayyy-vue-table-components'
|
|
50
|
+
import type { TableColumn, SortChangValue } from 'rayyy-vue-table-components'
|
|
51
|
+
import 'rayyy-vue-table-components/dist/rayyy-vue-table-components.css'
|
|
52
52
|
|
|
53
53
|
interface User {
|
|
54
54
|
id: number
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rayyy-vue-table-components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Vue 3 + Element Plus 表格組件庫",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.umd.js",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"import": "./dist/index.es.js",
|
|
13
13
|
"require": "./dist/index.umd.js"
|
|
14
14
|
},
|
|
15
|
-
"./
|
|
15
|
+
"./dist/rayyy-vue-table-components.css": "./dist/rayyy-vue-table-components.css"
|
|
16
16
|
},
|
|
17
17
|
"files": [
|
|
18
18
|
"dist/*",
|