Skip to content

ES / TypeScript decorator for class-style Vue components.

License

Notifications You must be signed in to change notification settings

victorcuena/vue-class-component

 
 

Repository files navigation

[DEPRECATED] Vue Class Component

⚠️ Notice

This library is no longer actively maintained. It is no longer recommend to use Class-based components in Vue 3. The recommended way to use Vue 3 in large applications is Single-File Components, Composition API, and <script setup>. If you still want to use classes, check out the community-maintained project vue-facing-decorator.

Additionally, if you're interested in migrating out of class components, you might find the CLI tool vue-class-migrator helpful for the transition.


ECMAScript / TypeScript decorator for class-style Vue components.

npm Gitpod Ready-to-Code

Document

See https://class-component.vuejs.org

Please note, documentation for v8 is not ready yet. Check out the readme in the respective branch or see v8 proposals in the issue list

Online one-click setup for contributing

Contribute to Vue Class Component using a fully featured online development environment that will automatically: clone the repo, install the dependencies and start the docs web server and run yarn dev.

Open in Gitpod

Issue reporting / pull requests

See contribution guideline

License

MIT

About

ES / TypeScript decorator for class-style Vue components.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 62.6%
  • JavaScript 29.7%
  • Vue 5.7%
  • Shell 1.4%
  • HTML 0.6%