Skip to content

vuejs/vue-class-component

Folders and files

NameName
Last commit message
Last commit date
Oct 13, 2018
Sep 16, 2020
Jan 11, 2020
Sep 17, 2020
Sep 6, 2023
Oct 13, 2018
Sep 17, 2020
Oct 13, 2018
Oct 13, 2018
Jan 11, 2020
Feb 10, 2020
May 6, 2020
Feb 15, 2018
Sep 6, 2023
Jan 12, 2020
Jan 12, 2020
Sep 17, 2020
Jan 11, 2020
Dec 11, 2020

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