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

1.0.7 • Public • Published

Vue TS Decorators

npm

This library is full depends on:

  1. vue-class-component.
  2. vue-property-decorator.
  3. vuex-class.

And merged some futures from Vuety & vue-ts-decorate

License

MIT License

Install

npm i vue-ts-decorators

Usage

There are 20 decorators:

  • @Component (exported from vue-class-component)
  • @Mixin (exported from vue-class-component)
  • @Props
  • @Prop
  • @Watch
  • @Model
  • @Inject
  • @Provide
  • @Emit
  • @LifeCycle
  • @Data
  • @Render
  • @On
  • @Once
  • @Filter
  • @State
  • @Getter
  • @Action
  • @Mutation
  • @namespace

See also

-vue-class-component -vue-property-decorator -vuex-class

Package Sidebar

Install

npm i vue-ts-decorators

Weekly Downloads

1

Version

1.0.7

License

MIT

Unpacked Size

38.4 kB

Total Files

40

Last publish

Collaborators

  • colin-luo