/vue-facing-decorator

Vue typescript class component decorators

Primary LanguageTypeScriptMIT LicenseMIT

Read me

GitHub npm npm peer dependency version (scoped) lts

Designed for vue 3, do the same work like vue-class-component and vue-property-decorator.

  • Community desired vue class component with typescript decorators.
  • Safety. Transform ES class to vue option api according to specifications.
  • Performance. Once transform on project loading, ready for everywhere.
  • Support ES class inheritance, vue extends and vue mixins.

Welcome to suggest and contribute.


支持vue 3, 提供类似vue-class-componentvue-property-decorator的功能。

  • 通过TypeScript装饰器实现社区期望的vue类组件开发。
  • 安全, 根据规范将ES类转换到vue option api。
  • 高性能,仅在项目加载时转换一次。
  • 支持ES类继承,vue extends 和 vue mixins

欢迎提出建议,贡献代码。

Document

To document

中文文档

Discussion

To discord https://discord.gg/4exxtFgkcz

QQ群号 766350254

Recommend packages

recursive-free

Github

Make your recursive-like functions leave stack overflow.

  • Simulate function stack to void stack overflow in recursive-like functions.
  • High performance implemented by JavaScript Map.

@facing/event-bus

Github

Event bus JavaScript implementation