Pinia ORM

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

  • Relation support
  • Single Table Inheritance support
  • Works with all pinia plugins
  • Query cache & hydration cache
  • Helper functions for collections

Based on vuex-orm-next

If your used to vuex-orm you will get fast used to pinia-orm


Package has been optimized to be around 12kb (gzip & minified)

Type safe

Everything written in typescript

Nuxt support

With the nuxt package there is nuxt support out of the box

Laravel syntax

The methods naming of models & queries is oriented from laravel.

Bundle Splitting

Add only the code you need. Pinia ORM splits in different bundles like "decorators", "helpers", "casts", ...