vue-class-component VS Vue.js

Compare vue-class-component vs Vue.js and see what are their differences.

vue-class-component

ES / TypeScript decorator for class-style Vue components. (by vuejs)

Vue.js

This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core (by vuejs)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
vue-class-component Vue.js
13 381
5,808 206,901
-0.1% 0.2%
2.9 7.9
6 months ago 16 days ago
TypeScript TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

vue-class-component

Posts with mentions or reviews of vue-class-component. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-11.
  • The Rear-Vue Mirror: My Open-Source Origin Story
    9 projects | dev.to | 11 Apr 2023
    This was a good change. Evan has always been extremely good at putting his finger on the pulse of the frontend community. If there's a feature or paradigm that people love that would fit in Vue, Evan will incorporate it. Over the years, Vue has implemented (and sometimes later deprecated) dependency injection, JSX support, custom elements, Angular-style class components, Svelte-style ref sugar, and now Solid-inspired compiler optimizations. They even changed the order of a Vue file to match that of Svelte: first the script, then the template.
  • Is it possible to use Vue 3 components in a Vue 2 app?
    1 project | /r/vuejs | 7 Mar 2023
    That is the whole point. Just check this code. If it was written in a basic vue 2 syntax style it wouldn't be a probrem at all :D So I am looking for a workoround to reuse either a component, or the whole module(page). Some trick which won't require a refactoring of a large app.
  • React Veterans: Have you gotten into Vue and what are your thoughts?
    1 project | /r/webdev | 9 Oct 2022
    The docs are not wrong perse because they distance themself from this package: https://github.com/vuejs/vue-class-component But at the time they recommended this package for best ts experience in vue 2. YOu can see that Evan's account is the second biggest contributor.
  • Vue + TS without class component ? No way!
    3 projects | dev.to | 15 Sep 2022
    Vue(TS) is abandoning vue-class-component, preferring to ask developers to use the Composition API. See https://github.com/vuejs/vue-class-component/issues/569
  • A vue-class-component alternative one in vue3.
    2 projects | /r/vuejs | 7 Jun 2022
    Due to `vue-class-component` is [deprecated in vue3](https://github.com/vuejs/vue-class-component/issues/569). I built a alternative package to do that with many features.
  • Support for vue-class-component going forward
    1 project | /r/vuejs | 19 Apr 2022
    This topic has come up a few times, but I'm hoping that at some point there can be some official guidance from the Vue team on vue-class-components.
  • Trying to learn vue3 (class style component)+ typescript + pinia
    1 project | /r/vuejs | 7 Mar 2022
    According to the Github commit history, the last commit was on 15 Dec 2020. Also, in this conversation, it's saying this library is not maintained anymore, that's why it doesn't work with Vue 3 at all. I did switch from Vue 2 with class style component to Vue 3 since last May. I also switch from Vuex4 to Pinia since last December. I don't have any big issue regarding pass props through different components or using Pinia. The best way to understand how it works is checking Vue 3 and Pinia official document.
  • Vue 3 production-ready analysis
    11 projects | /r/vuejs | 25 Jan 2022
    I'm particularly a little salty about the situation of vue-class-component. This is an officially supported vue library that thousands of people use (including myself), and it has been left to die on the vine with regard to Vue3. It has been in the same RC state for over a year, with no communication or support as to what is happening.
  • Thoughts about the state of Vue & the 2/3 transition
    3 projects | /r/vuejs | 21 Jan 2022
    3) Previously officially supported projects are being essentially abandoned. Vue Cli has been waiting for V5 for the past year, with no indication of release date, and now is in "maintenance mode". Vue Class Component has similarly been waiting for an update for over a year, and still does not have an official release that supports Vue3.
  • Objects and v-model in Vue3
    2 projects | dev.to | 30 Nov 2021
    When I was using Vue2 along with vue-class-component and vue-property-decorator it was easy to synchronize v-models between components simply using @ModelSync(). When Vue 3 came out with its Composition API another way was needed to achieve the same result as if Class Component was used.

Vue.js

Posts with mentions or reviews of Vue.js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-13.
  • Here are the 10 projects I am contributing to over the next 6 months. Share yours
    13 projects | dev.to | 13 Apr 2024
    Vuejs
  • Vue 2 Final Release
    1 project | news.ycombinator.com | 25 Dec 2023
  • 🎄 Top Front-End Frameworks in 2024 Worth Your Time and Effort to Master
    5 projects | dev.to | 13 Dec 2023
    Vue.js is a big favorite for making websites because it's easy to use and fits in well with other stuff. Many people worldwide are using it, and the community keeps growing.
  • Angular vs. React vs. Vue.js: Comparing performance
    16 projects | dev.to | 6 Sep 2023
    Vue has a thriving ecosystem with a wide range of third-party libraries and plugins available for extending its functionality. These libraries cover everything from state management to routing, making it easy for developers to find solutions to common problems and enhance their development workflow. As of this writing, Vue has 200k GitHub stars.
  • Top 10 "Must Have" Repositories for Web Developers
    6 projects | dev.to | 11 Jul 2023
    6. Vue.js
  • Vue 2 vs vue 3 - The Differences
    2 projects | dev.to | 5 Jun 2023
    I have got the privilege of working on Vue 2 couple of months ago and its really amazing framework to work with .
  • Angular v16 Is Here
    6 projects | news.ycombinator.com | 3 May 2023
    Angular is as little innovative for web frameworks as Firefox-ESR is for browsers. It merely keeps copying features from other frameworks - just many years later. It is a chronically outdated framework that always struggles to keep up with its competitors. It would be ok if those were deliberate design decisions, but if the features get copied some day anyway, what is the point? Why not do it the right way from the start?

    For example, this update brings us computed properties, an essential feature for any complex performant web application that was made popular by Vue.js 10 years ago [1]. And now in 2023 we get it in Angular, essentially a confirmation by its devs that its lack has always been a design error.

    I also cannot understand the "mature" argument. For example, it took five years for documentation on `` to arrive [2]. This is something I'd expect from the side project of a lone programmer, not an enterprise-level framework.

    The only upsides of Angular are its "batteries included" approach and the (debatable) default of RXJS, while the downsides are plenty.

    [1] https://github.com/vuejs/vue/tree/218557cdec830a629252f4a9e2...

  • What's happening with the forum?
    2 projects | /r/vuejs | 13 Apr 2023
    It's down since months. https://github.com/vuejs/vue/issues/11867
  • How to scrape the web with Puppeteer in 2023
    5 projects | dev.to | 7 Mar 2023
    { "user": "vuejs", "repo": "vue", "url": "https://github.com/vuejs/vue", "stars": 201555, "description": "🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.", "topics": [ "javascript", "framework", "vue", "frontend" ], "label": "repository", "commitCount": 3544 }
  • What is Vue?
    3 projects | dev.to | 6 Feb 2023
    Vue.js is a progressive open-source MVVM frontend JavaScript framework that is designed to be implemented incrementally since the core library focuses only on the presentation layer. Nevertheless, this framework is used for building UI (user interfaces) and complex single-page applications with modern tools and libraries to support them. It enables you to take advantage of libraries for client-side routing and state management when you need it.

What are some alternatives?

When comparing vue-class-component and Vue.js you can also consider the following projects:

composition-api - Composition API plugin for Vue 2

lit - Lit is a simple library for building fast, lightweight web components.

vue-facing-decorator - Vue typescript class component decorators

htmx - </> htmx - high power tools for HTML

vue-property-decorator - Vue.js and Property Decorator

vite - Next generation frontend tooling. It's fast!

Stimulus - A modest JavaScript framework for the HTML you already have [Moved to: https://github.com/hotwired/stimulus]

create-vue - 🛠️ The recommended way to start a Vite-powered Vue project

React - The library for web and native user interfaces.

vitesse - 🏕 Opinionated Vite + Vue Starter Template

Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.