@havunen/vue2-class-component
TypeScript icon, indicating that this package has built-in type declarations

7.4.1 • Public • Published

[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.

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

/@havunen/vue2-class-component/

    Package Sidebar

    Install

    npm i @havunen/vue2-class-component

    Weekly Downloads

    5

    Version

    7.4.1

    License

    MIT

    Unpacked Size

    43.8 kB

    Total Files

    22

    Last publish

    Collaborators

    • havunen