@vuemodel/orion

VueModel, Orion driver
1,268 9
Install
npm install @vuemodel/orion
Latest Version:0.0.13
Vue:3
License:MIT
Last Updated:May 27, 2025
Links: GitHub  ·  npm
Maintainer: ldiebold

core

Core repository for contracts and drivers of VueModel

WIP

VueModel aims to abstract the "play" between vue and the backend.

To start, it will be solely focused on using the composition API and aim to have drivers for:

I'll likely focus on support for GraphQl when those three are implemented.

A little more...

The idea, is that you'll be able to easily "sync" your frontend and backend data with code like this:

<script setup>
const { form, create, creating, error } = useModel(Todo)
</script>

<template>
<input v-model="form.title">

<button :disabled="creating" @click="create">create</button>

<span v-if="creating">creating...</span>
<span v-if="error">{{ error.message }}</span>
</template>

Yes, related data too!

const { include, fetch, fetching, errors, collection: todos } = useModelCollection(TodoList)

include.value = [
  'author',
  'todos.comments'
]

async function fetchTodos () {
  await fetch()
  console.log(errors)
  console.log(todos.value)
}

Note the consle.log(todos.value). This library will also manage state (using Vuex ORM... but state will also adhere to contracts that we'll be able to swap out!)

Code like the above always works the same way, and the final abstraction can be unified among backends! And that's the goal of this library: Frontend/Backend Unification

Stay tuned!

Related Packages

@vuemodel/core

Core repository for contracts and drivers of VueModel

2,864 9
vue-modello

vue model

757 10
@agtm/vue-model

Class base to be used in object-oriented model implementation

864 0
@nine_tails9/vuemodelgenerator

Generate Vue Files With speicified model details from components

745 0

Version History

Version Released Vue License
0.0.13 ^3.x MIT
0.0.12 ^3.x MIT
0.0.11 ^3.x MIT
0.0.10 ^3.x MIT
0.0.9 ^3.x MIT