@havunen/vue2-class-component
v7.4.1
Published
ES201X/TypeScript class decorator for Vue components
Downloads
32
Readme
[DEPRECATED] Vue Class Component
Changelog
7.4.1
- Support for copying reflection metadata removed
7.4.0
- Optimized Component construction
- Reflect feature check removed, It is supported by all supported browsers
- IE support removed
⚠️ 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.
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
.