@@ -70,19 +70,37 @@ Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |
70
70
Version: [ vue] ( https://www.npmjs.com/package/vue ) 3.x
71
71
72
72
``` shell
73
- npm install vxe-table
73
+ npm install vxe-table@next
74
74
```
75
75
76
76
Get on [ unpkg] ( https://unpkg.com/vxe-table/ ) and [ cdnjs] ( https://cdn.jsdelivr.net/npm/vxe-table/ )
77
77
78
- ### npm
78
+ ### NPM
79
+
80
+ ### Use Table
81
+
82
+ ``` javascript
83
+ // ...
84
+ import VxeTable from ' vxe-table'
85
+ import ' vxe-table/lib/style.css'
86
+ // ...
87
+
88
+ createApp (App).use (VxeTable).mount (' #app' )
89
+ ```
90
+
91
+ ### Use Table and UI
79
92
80
93
``` javascript
81
- import { createApp } from ' vue '
82
- import VxeUITable from ' vxe-table'
94
+ // ...
95
+ import VxeTable from ' vxe-table'
83
96
import ' vxe-table/lib/style.css'
97
+ // ...
98
+
99
+ import VxeUI from ' vxe-pc-ui'
100
+ import ' vxe-pc-ui/lib/style.css'
101
+ // ...
84
102
85
- createApp (App).use (VxeUITable ).mount (' #app' )
103
+ createApp (App).use (VxeUI). use (VxeTable ).mount (' #app' )
86
104
```
87
105
88
106
### CDN
@@ -91,11 +109,15 @@ Use a third-party CDN to remember to lock the version number to avoid being affe
91
109
*** It is not recommended to use the CDN address of a third party in a formal environment because the connection can fail at any time***
92
110
93
111
``` HTML
94
- <!-- Style -->
95
- <link rel =" stylesheet" href =" https://unpkg.com/vxe-table/lib/style.css" >
96
- <!-- Script -->
97
- <script src =" https://unpkg.com/xe-utils" ></script >
98
- <script src =" https://unpkg.com/vxe-table" ></script >
112
+ <!-- style -->
113
+ <link rel =" stylesheet" href =" https://cdn.jsdelivr.net/npm/vxe-pc-ui/lib/style.css" >
114
+ <link rel =" stylesheet" href =" https://cdn.jsdelivr.net/npm/vxe-table@next/lib/style.css" >
115
+ <!-- vue -->
116
+ <script src =" https://cdn.jsdelivr.net/npm/vue" ></script >
117
+ <!-- table -->
118
+ <script src =" https://cdn.jsdelivr.net/npm/xe-utils" ></script >
119
+ <script src =" https://cdn.jsdelivr.net/npm/vxe-pc-ui" ></script >
120
+ <script src =" https://cdn.jsdelivr.net/npm/vxe-table@next" ></script >
99
121
```
100
122
101
123
## Example
@@ -128,14 +150,15 @@ const tableData = ref([
128
150
129
151
## Online Documents
130
152
131
- 👉 [ Document] ( https://vxetable.cn )
153
+ 👉 [ UI Document] ( https://vxeui.com )
154
+ 👉 [ Table Document] ( https://vxetable.cn )
132
155
133
156
## Run the project
134
157
135
158
Install dependencies
136
159
137
160
``` shell
138
- npm install
161
+ npm run update
139
162
```
140
163
141
164
Start local debugging
0 commit comments