vue-class-component VS core

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

vue-class-component

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

core

πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web. (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 core
13 283
5,808 44,481
-0.1% 2.4%
2.9 9.8
6 months ago 5 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.

core

Posts with mentions or reviews of core. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-15.
  • Using Nuxt Content: Working with Remote Markdown Files
    8 projects | dev.to | 15 Apr 2024
    Nuxt is an open-source framework for building performant websites and full-stack applications using Vue.js. It provides performance and SEO benefits, and adds full-stack capabilities for Vue apps.
  • The easiest way to authenticate users with Vue.js
    2 projects | dev.to | 5 Apr 2024
    As you can see, it's a simple Single Page Application built with Vue.js where our users can sign up / sign in with a few clicks.
  • Episode 24/13: Native Signals, Details on Angular/Wiz, Alan Agius on the Angular CLI
    11 projects | dev.to | 5 Apr 2024
    Similarly to Promises/A+, this effort focuses on aligning the JavaScript ecosystem. If this alignment is successful, then a standard could emerge, based on that experience. Several framework authors are collaborating here on a common model which could back their reactivity core. The current draft is based on design input from the authors/maintainers of Angular, Bubble, Ember, FAST, MobX, Preact, Qwik, RxJS, Solid, Starbeam, Svelte, Vue, Wiz, and more…
  • Securing Vue Apps with Keycloak
    3 projects | dev.to | 3 Apr 2024
    Vue.js is an open source web framework that makes developing web applications easier.
  • Introduction to JavaScript: Empowering Web Development with Interactivity
    4 projects | dev.to | 25 Mar 2024
    Frameworks and Libraries: There are numerous JavaScript frameworks and libraries, such as React, Angular, and Vue.js, which simplify the development of complex web applications.
  • Full Stack Web Development Concept map
    11 projects | dev.to | 23 Mar 2024
    Javascript in the browser React - react is a library that gives developers an application programming interface (API) to manipulate the DOM (this is React's ReactDOM package). React uses components and JSX to make building reusable code easier. docs JSX - is a syntax extension for React Javascript code that lets you write HTML-like markup in a javascript file. This makes it easier to write reusable HTML. docs State - a key react concept that guides setting and storage of data between renders. docs Hooks - a key react concept for logic triggered by state change docs Vue - is a framework for building web interfaces. Vue is lightweight and best for small projects prioritizing speed over functionality. doc Angular - web development framework. Angular is best for dynamic more feature rich sites. docs
  • What is Reactivity?
    3 projects | dev.to | 21 Feb 2024
    Vue
  • Vue 3 Explained: Rendering 101
    1 project | dev.to | 22 Jan 2024
    Vue 3 Reactivity Source Code
  • Why I Personally Decided to Bet on JavaScript
    4 projects | dev.to | 5 Jan 2024
    Nonetheless, it offers nearly infinite possibilities. You can code and create anything, from a mobile app with React Native to a desktop application with Electron.js. Furthermore, JavaScript provides excellent frameworks and libraries that can be applied in various approaches, such as React, Three, Vue, Meteor, and Astro.
  • Use any web browser as GUI, with Zig in the back end and HTML5 in the front end
    17 projects | news.ycombinator.com | 1 Jan 2024
    From your own example, here is the text from https://vuejs.org/ as of today:

    > The Progressive JavaScript Framework

    > An approachable, performant and versatile framework for building web user interfaces.

    > Approachable - Builds on top of standard HTML, CSS and JavaScript with intuitive API and world-class documentation.

    > Performant - Truly reactive, compiler-optimized rendering system that rarely requires manual optimization.

    > Versatile - A rich, incrementally adoptable ecosystem that scales between a library and a full-featured framework.

    Yes, performance is mentioned. But it's hardly the main selling point, and they don't even mention DOM manipulation, they're talking about the rendering in general.

    Lit isn't even a framework, it's a "web components library".

    > all modern frameworks

    Yeah, "all modern frameworks" being one framework + one library?

What are some alternatives?

When comparing vue-class-component and core you can also consider the following projects:

composition-api - Composition API plugin for Vue 2

unplugin-vue-components - πŸ“² On-demand components auto importing for Vue

vue-facing-decorator - Vue typescript class component decorators

vue-cli - πŸ› οΈ webpack-based tooling for Vue.js Development

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

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

vueuse - Collection of essential Vue Composition Utilities for Vue 2 and 3

create-vue - πŸ› οΈ The recommended way to start a Vite-powered Vue project

auth - A JWT based API for managing users and issuing JWT tokens

vitesse - πŸ• Opinionated Vite + Vue Starter Template

nicegui - Create web-based user interfaces with Python. The nice way.