phecda-vue
TypeScript icon, indicating that this package has built-in type declarations

2.1.2 • Public • Published

phecda-vue

provide store/form/table with phecda function to vue

store

// in model
import { useR, useV } from 'phecda-vue'
export class Test {
  name = 'phecda'
  changeName() {
    this.name = 'vue'
  }
}
const state = useR(Test) // reactive
const { name, changeName } = useV(Test)// ref

Readme

Keywords

none

Package Sidebar

Install

npm i phecda-vue

Weekly Downloads

2

Version

2.1.2

License

MIT

Unpacked Size

35.7 kB

Total Files

6

Last publish

Collaborators

  • fgsreally