Skip to content
P

pinia-orm

The Pinia plugin to enable Object-Relational Mapping access to the Pinia Store

by CodeDreddOpen source

#1281in UI Libraries
0In stores

Description

Pinia ORM is a plugin for Pinia, the Vue store library, that adds object-relational mapping to your stores. It normalizes relational data an…

Highlights

  • Normalized relational data in Pinia stores
  • Laravel-style query builder with aggregates
  • Common and morph relations between models
  • Standard ECMAScript decorators for model definitions
  • First-class Nuxt module for Nuxt 3 and 4
  • Single table inheritance and query caching

Ratings & Reviews

No ratings yet

Be the first to rate pinia-orm.

People also visit

P

pinia

Intuitive, type safe, light and flexible Store for Vue

UI Libraries
Launch
P

pinia

Type-safe Vue state management

AI Skills
Get
V

vue-pinia-best-practices

Pinia stores, state management patterns, store setup, and reactivity with stores

AI Skills
Get
P

PrimeVue

The Most Complete UI Component Library for Vue

UI Libraries
Launch
V

vue-final-modal

Tailwind-friendly, highly customizable, stackable modal component

UI Libraries
Launch
V

vueuse-functions

Map Vue.js and Nuxt requirements to 200+ VueUse composables for concise

AI Skills
Get

pinia-orm FAQ

What is pinia-orm?

A plugin that lets you query Pinia stores like an ORM, with normalized relational data and a query builder.

Which versions do I need?

The 2.x line needs Pinia 3 or later, Node 22.12 or later and TypeScript 5.2 or later. The 1.x line works with Pinia 2.x and Node 14 or later.

Does it work with Nuxt?

Yes. It has a first-class Nuxt module for Nuxt 3 and 4.

How is it different from vuex-orm?

The README includes a comparison with vuex-orm, along with a migration guide for people moving over.

Is it open source?

Yes. The repository is public on GitHub at CodeDredd/pinia-orm.

What are the best pinia-orm alternatives?

Popular alternatives to pinia-orm include pinia, PrimeVue and vue-final-modal. See all pinia-orm alternatives

Developer Stuff

Badges