phecda-vue 5.2.0 → 5.2.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.
Files changed (2) hide show
  1. package/README.md +15 -15
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,16 +1,16 @@
1
- # phecda-vue
2
- provide state management with phecda function to vue
3
-
4
- ## store
5
- ```ts
6
- // in model
7
- import { useR, useV } from 'phecda-vue'
8
- export class Test {
9
- name = 'phecda'
10
- changeName() {
11
- this.name = 'vue'
12
- }
13
- }
14
- const state = useR(Test) // reactive
15
- const { name, changeName } = useV(Test)// ref
1
+ # phecda-vue
2
+ provide state management with phecda function to vue
3
+
4
+ ## store
5
+ ```ts
6
+ // in model
7
+ import { useR, useV } from 'phecda-vue'
8
+ export class Test {
9
+ name = 'phecda'
10
+ changeName() {
11
+ this.name = 'vue'
12
+ }
13
+ }
14
+ const state = useR(Test) // reactive
15
+ const { name, changeName } = useV(Test)// ref
16
16
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phecda-vue",
3
- "version": "5.2.0",
3
+ "version": "5.2.2",
4
4
  "description": "provide phecda function to vue",
5
5
  "author": "fgsreally",
6
6
  "license": "MIT",
@@ -18,7 +18,7 @@
18
18
  "dependencies": {
19
19
  "@vue/devtools-api": "^6.6.3",
20
20
  "vue": "^3.2.45",
21
- "phecda-web": "3.0.2"
21
+ "phecda-web": "3.0.4"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@vue/test-utils": "^2.4.6",