phecda-vue 5.2.0-alpha.0 → 5.2.0-alpha.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 (3) hide show
  1. package/README.md +15 -15
  2. package/dist/index.js +4 -4
  3. 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/dist/index.js CHANGED
@@ -20,8 +20,8 @@ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "defau
20
20
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
21
21
 
22
22
  // src/index.ts
23
- var src_exports = {};
24
- __export(src_exports, {
23
+ var index_exports = {};
24
+ __export(index_exports, {
25
25
  KeepAlive: () => KeepAlive,
26
26
  Shallow: () => Shallow,
27
27
  VuePhecda: () => VuePhecda,
@@ -43,8 +43,8 @@ __export(src_exports, {
43
43
  useRaw: () => useRaw,
44
44
  useV: () => useV
45
45
  });
46
- module.exports = __toCommonJS(src_exports);
47
- __reExport(src_exports, require("phecda-web"), module.exports);
46
+ module.exports = __toCommonJS(index_exports);
47
+ __reExport(index_exports, require("phecda-web"), module.exports);
48
48
 
49
49
  // src/core.ts
50
50
  var import_vue = require("vue");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phecda-vue",
3
- "version": "5.2.0-alpha.0",
3
+ "version": "5.2.0-alpha.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-alpha.0"
21
+ "phecda-web": "3.0.2-alpha.2"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@vue/test-utils": "^2.4.6",