Nuxt Setup


Installation

Yarn
yarn add pinia-orm @pinia-orm/nuxt
NPM
npm install @pinia-orm/nuxt --save

Configuration

Nuxt 3
import { defineNuxtConfig } from 'nuxt3'export default defineNuxtConfig({  modules: [    '@pinia/nuxt',     '@pinia-orm/nuxt'  ],  // See https://github.com/nuxt/framework/issues/2371  nitro: {    externals: {      inline: ['uuid'],    },  }})
Nuxt 2
export default {  buildModules: [  '@nuxtjs/composition-api/module',  '@pinia/nuxt'  ],  modules: ['@pinia-orm/nuxt'],}