vue-facing-decorator

Vue typescript class and decorator based component.
1,668,604 400
Install
npm install vue-facing-decorator
Latest Version:4.0.1
Vue:3
License:MIT
Last Updated:Mar 22, 2026
Links: GitHub  ·  npm
Maintainer: ruojianll

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.
  • Compatible with both stage3 and stage2 decorators.
  • Compatible with both TypeScript and JavaScript projects.
  • 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.
  • Official recommended.

Welcome to suggest and contribute.


Donate

opencollective

Document

To document

Document languages: English, 简体中文, Portuguese

Wellknown issues

https://facing-dev.github.io/vue-facing-decorator/#/en/wellknown-issues/wellknown-issues

Discussion

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

QQ群号 766350254

Awesome List

Related Packages

vue-component-static-loader

A loader for Webpack that statically parses Vue class components with specified...

1,128 2
pinia-class-component

ECMAScript / TypeScript decorator for class-style Pinia store.

47,479 39
@haixing_hu/vue3-class-component

A JavaScript class decorator for Vue3 components

3,950 6
webcake-ui-kit

UI Kit for Vue 2 && 3 - Pure Options API

19,775 8
j-vue

.vue single-file component back-end compiler. Belong to "Plan J"./.vue 单文件组...

6,068 7

Version History

Version Released Vue License
4.0.1 ^3.0.0 MIT
4.0.0 ^3.0.0 MIT
3.0.4 ^3.0.0 MIT
3.0.3 ^3.0.0 MIT
3.0.2 ^3.0.0 MIT
Pre-releases (4)
Version Released Vue License
4.0.0-beta.1 ^3.0.0 MIT
3.0.0-beta.3 ^3.0.0 MIT
3.0.0-beta.2 ^3.0.0 MIT
3.0.0-beta.1 ^3.0.0 MIT