vue-class-component VS create-vue

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

vue-class-component

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

create-vue

🛠️ The recommended way to start a Vite-powered Vue project (by vuejs)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
vue-class-component create-vue
13 19
5,808 3,373
-0.1% 4.7%
2.9 9.2
6 months ago 6 days ago
TypeScript Vue
MIT License GNU General Public License v3.0 or later
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.

create-vue

Posts with mentions or reviews of create-vue. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-06.
  • Volar with VueJS 3
    4 projects | /r/neovim | 6 Apr 2023
    I'm trying to use Volar https://github.com/vuejs/language-tools in a project created with create-vue https://github.com/vuejs/create-vue. My config is forked from https://github.com/LunarVim/nvim-basic-ide and Volar is installed with Mason (having previously installed the Vue lang server).
  • Prompt - User-friendly interactive prompts for Go.
    4 projects | /r/golang | 10 Feb 2023
    Recently, I developed a go package that allows users to pass parameters through input or selection in tui. Similar to create-vue. You can see some screenshots in the README. Based on Bubble Tea. Inspired by Prompts.
  • I made browser extension for bookmarks (Vue 3 + TailwindCSS + IndexedDB)
    5 projects | /r/vuejs | 5 Feb 2023
    Is there a reason you've used the old Vue CLI though, with webpack and babel?Imho you're missing a lot not using Vite... npm init vue@latest (create-vue) is the recommended way to scaffold a new Vue app, Vue CLI is in Maintenance Mode
  • Configuring vitest and testing library to work together
    1 project | dev.to | 2 Feb 2023
    To start with, let's create a project with create-vue, executing the following command should create a brand new project:
  • ESLint + Prettier (Vue 3)
    1 project | dev.to | 15 Jan 2023
    After creating a new Vue 3 application using either create-vue or vite do the following steps:
  • Exit Intent Pop-Up & How to Publish on NPM - Vue 3
    2 projects | dev.to | 11 Nov 2022
    npm init vue@latest This command will install and execute create-vue The recommended way to start a Vite-powered Vue project.
  • What am I missing? Why won't my app render?
    1 project | /r/vuejs | 6 Nov 2022
    The recommended way to create a skeleton Vue application these days is create-vue. I propose you use that tool to create a working Vue app and then add your HTML to it in small increments.
  • Vite 3.0 is out!
    1 project | /r/vuejs | 15 Jul 2022
  • Complex Vue 3 state management made easy with Pinia
    2 projects | dev.to | 21 Apr 2022
    This will install and execute create-vue, the official Vue project scaffolding tool, to setup a new project with Vue and Vite. In the process, you must choose the tools necessary for the project: Select all the tools marked with a red arrow: Router, Pinia, ESLint, and Prettier. When the setup completes, navigate to the project and install the dependencies:
  • NPM package compromised by author: erases files on RU / BY computers on install
    4 projects | news.ycombinator.com | 16 Mar 2022
    Note that the only vulnerable version was @vue/cli v5.0.2, which was intended to pin the version of node-ipc to v9.2.1, but accidentally allowed versions greater than that: https://github.com/vuejs/vue-cli/commit/37ef809c873f33c88ba7...

    The mistake was fixed within 6 minutes: https://github.com/vuejs/vue-cli/commit/b0d931668e7e8450a285...

    It looks like the malware version of @vue/cli has been downloaded a total of 170 times.[1] That's 0.13% of all downloads of that package this week. It's also important to note that @vue/cli has been deprecated for months. If you're making a new Vue project today[2] you'll use create-vue[3] which doesn't depend on node-ipc at all.

    1. https://www.npmjs.com/package/@vue/cli?activeTab=versions

    2. https://vuejs.org/guide/quick-start.html

    3. https://github.com/vuejs/create-vue

What are some alternatives?

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

composition-api - Composition API plugin for Vue 2

volar - ⚡ Explore high-performance tooling for Vue [Moved to: https://github.com/vuejs/language-tools]

vue-facing-decorator - Vue typescript class component decorators

vitesse - 🏕 Opinionated Vite + Vue Starter Template

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

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

vetur - Vue tooling for VS Code.

LavaMoat - tools for sandboxing your dependency graph

core - 🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

node-ipc - A nodejs module for local and remote Inter Process Communication (IPC), Neural Networking, and able to facilitate machine learning.