vuejs/vue-class-component

ES / TypeScript decorator for class-style Vue components.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 12 minutes ago
Added to GitGenius on September 11th, 2026
Created on June 25th, 2015
Open Issues & Pull Requests: 101 (+0)
GitHub issues: Enabled
Number of forks: 426
Total Stargazers: 5,753 (+0)
Total Subscribers: 82 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 21.6 hours
Mean response time: 40.2 hours
90th percentile: 4.2 days
Tracked items: 6

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 5
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,522 days
Stale 30+ days: 5
Stale 90+ days: 5

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • v8 (2)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Vue Class Component is a TypeScript decorator library that enables class-style syntax for Vue components.

The library addresses the need to write Vue components using ES6 class syntax and TypeScript decorators rather than plain object definitions. It works by providing decorators that transform class definitions into Vue component objects, allowing developers to use familiar object-oriented patterns with features like class inheritance and instance properties.

The README explicitly states that this library is no longer actively maintained and is not recommended for Vue 3 applications. The official guidance directs developers toward Single-File Components, Composition API, and `<script setup>` as the recommended approaches for large applications. For those who still require class-based components, the README points to a community-maintained alternative project. The tool is most relevant for legacy Vue 2 codebases or projects with specific architectural constraints that demand class-based patterns. Developers looking to migrate away from class components can reference a dedicated CLI migration tool mentioned in the README.