@yetuzi/vue3-query-components 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.
Files changed (2) hide show
  1. package/README.md +9 -9
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -14,11 +14,11 @@
14
14
  ## 📦 安装
15
15
 
16
16
  ```bash
17
- npm install vue3-query-components
17
+ npm install @yetuzi/vue3-query-components
18
18
  # 或
19
- yarn add vue3-query-components
19
+ yarn add @yetuzi/vue3-query-components
20
20
  # 或
21
- pnpm add vue3-query-components
21
+ pnpm add @yetuzi/vue3-query-components
22
22
  ```
23
23
 
24
24
  ## 🚀 快速开始
@@ -27,8 +27,8 @@ pnpm add vue3-query-components
27
27
 
28
28
  ```typescript
29
29
  import { createApp } from 'vue'
30
- import Vue3QueryComponents from 'vue3-query-components'
31
- import 'vue3-query-components/dist/style.css'
30
+ import Vue3QueryComponents from '@yetuzi/vue3-query-components'
31
+ import '@yetuzi/vue3-query-components/dist/style.css'
32
32
 
33
33
  const app = createApp(App)
34
34
  app.use(Vue3QueryComponents)
@@ -37,8 +37,8 @@ app.use(Vue3QueryComponents)
37
37
  ### 2. 按需引入
38
38
 
39
39
  ```typescript
40
- import { CommonTable, CommonForm } from 'vue3-query-components'
41
- import 'vue3-query-components/dist/style.css'
40
+ import { CommonTable, CommonForm } from '@yetuzi/vue3-query-components'
41
+ import '@yetuzi/vue3-query-components/dist/style.css'
42
42
  ```
43
43
 
44
44
  ### 3. 基础使用
@@ -58,7 +58,7 @@ import 'vue3-query-components/dist/style.css'
58
58
 
59
59
  <script setup>
60
60
  import { ref } from 'vue'
61
- import { CommonTable } from 'vue3-query-components'
61
+ import { CommonTable } from '@yetuzi/vue3-query-components'
62
62
 
63
63
  const columns = ref([
64
64
  { prop: 'name', label: '姓名' },
@@ -99,7 +99,7 @@ function handlePageChange(page) {
99
99
 
100
100
  <script setup>
101
101
  import { ref } from 'vue'
102
- import { CommonForm } from 'vue3-query-components'
102
+ import { CommonForm } from '@yetuzi/vue3-query-components'
103
103
 
104
104
  const formModel = ref({
105
105
  name: '',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yetuzi/vue3-query-components",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Vue3查询页面组件库,基于Element Plus封装的表格查询组件 - 开箱即用",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",