vue-mvvm

Lightweight MVVM utilities for Vue 3 with typed ViewModels, UserControls, simple DI and more
3,960 3
Install
npm install vue-mvvm@10.0.1
Latest Version:10.0.1
Vue:3
License:MIT
Last Updated:Jul 25, 2026
Links: GitHub  ·  npm
Maintainer: koschel-christoph

NPM Version NPM Version GitHub Actions Workflow Status

vue-mvvm

A lightweight set of MVVM utilities for Vue 3 that helps you structure apps with typed ViewModels, reusable UserControls, a tiny DI container, and simple router helpers.

Note: vue-mvvm is in early-stage development, so not all features may be stable.

✨ Features

  • Typed ViewModel pattern built on the Vue 3 Composition API
  • Reusable UserControls for encapsulated UI + logic
  • Simple dependency injection (DI) helpers
  • Optional router helpers that work with vue-router
  • Fully typed, TypeScript-first API
  • Small surface area and easy to adopt incrementally

📦 Installation

npm install vue-mvvm

🧩 Example

See the examples in the /sample folder

🧩 Documentation

See the documentation for a Overview or code API for deep functionality.

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

Related Packages

@vue/composition-api

Provide logic composition capabilities for Vue.

7,353,877 4,179
vue-composition-global-subscription

A Component to handle global events and data

345
@prefecthq/vue-compositions

A collection of reusable vue compositions.

86,897 7
@lehoczky/vue-keycloak

Keycloak plugin for Vue3 and Composition API

4,884
vue-lite-js

Clones Vue.js to implement a basic MVVM framework using TypeScript

1,121 1

Version History

Version Released Vue License
10.0.1 ^3.5.24 MIT
0.10.1 ^3.5.24 MIT
0.10.0 ^3.5.24 MIT
0.9.0 ^3.5.24 MIT
0.8.1 ^3.5.24 MIT