I was trying to use pinia-orm axios plugin with Nuxt3 project. I couldn't find any documentation or examples on how to integrate in Nuxt 3 projects. I tried creating using below plugin code, but it didnt work for me.
import { createORM } from 'pinia-orm';
import { setActivePinia } from 'pinia';
import { defineNuxtPlugin } from '#app';
import { piniaOrmPluginAxios } from '@pinia-orm/axios';
export default defineNuxtPlugin((nuxtApp) => {
const piniaOrm = createORM();
piniaOrm().use(piniaOrmPluginAxios);
nuxtApp.$pinia.use(piniaOrm);
setActivePinia(nuxtApp.$pinia);
});
Having a documentation or an example for this would be good.
Additional information
[ ] Would you be willing to help implement this feature?
Describe the feature
I was trying to use pinia-orm axios plugin with Nuxt3 project. I couldn't find any documentation or examples on how to integrate in Nuxt 3 projects. I tried creating using below plugin code, but it didnt work for me.
Having a documentation or an example for this would be good.
Additional information
Final checks