rayyy-vue-table-components 1.2.38 → 1.3.0

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 CHANGED
@@ -96,18 +96,24 @@ app.mount('#app')
96
96
 
97
97
  如果您只想使用部分組件,可以按需引入:
98
98
 
99
- ```typescript
100
- import { createApp } from 'vue'
101
- import { BaseTable, BaseBtn } from 'rayyy-vue-table-components'
102
- import 'rayyy-vue-table-components/styles'
103
-
104
- import App from './App.vue'
105
-
106
- const app = createApp(App)
99
+ ```vue
100
+ <script setup>
101
+ import {
102
+ SortTable,
103
+ TransferDialog,
104
+ TransferItem,
105
+ BaseBtn,
106
+ SearchableListPanel,
107
+ } from 'rayyy-vue-table-components'
108
+ </script>
107
109
 
108
- app.component('BaseTable', BaseTable)
109
- app.component('BaseBtn', BaseBtn)
110
- app.mount('#app')
110
+ <template>
111
+ <div>
112
+ <BaseBtn>按鈕</BaseBtn>
113
+ <SortTable :data="tableData" />
114
+ <!-- 其他組件... -->
115
+ </div>
116
+ </template>
111
117
  ```
112
118
 
113
119
  ### Hello World