Daria
Daria13mo ago

@convex-vue/core

Hey everyone, I wanted to let you know that I just published convex-vue on npm. Docs are stil pending but I did put some overview of components / composables in the README. I'm think of elegant way to make it work with nuxt while being flexible, in the meantime I'll try to put up an example template soon ™️ https://www.npmjs.com/package/@convex-vue/core
npm
@convex-vue/core
Get Started. Latest version: 0.0.2, last published: 7 minutes ago. Start using @convex-vue/core in your project by running npm i @convex-vue/core. There are no other projects in the npm registry using @convex-vue/core.
3 Replies
ballingt
ballingt11mo ago
Curious what's missing or how it would be helpful to contribute @Daria! I just published an early version of on a Svelte client https://github.com/get-convex/convex-svelte and by a couple weeks from now I'd love to be able to tell people to use it. If we could get your Vue / Nuxt integration to that point I'll share them both. James announced we were going to work on this in https://discord.com/channels/1019350475847499849/1019372556693815418/1220856197725294643 so I'll have some time to contribute
yanis
yanis11mo ago
your svelte wip commit was a big helper for me in setting things up yesterday!
Daria
DariaOP11mo ago
So huh I think convex-vue is in a pretty good state right now. If people have features they'd like to add, I'm all ears. As for the nuxt integration, I haven't made a package for it yet. I've been using convex with nuxt on personal projects though. I used a custom ConvexClient to fallback on a simple ConvexHttpClient during SSR (with caching, deduping etc). I have started work on the nuxt integration. So far I've setup the nuxt module to auto import composables. I made a custom useQuery and usePaginatedQuery composables to iron a few quirks with SSR and allow passing SSR data to the client in a way that is totally transparent for consumers I still need to - add autoimports for the component, and make custom <ConvexQuery/> and <ConvexPaginatedQuery /> to use the specific composable - figure out if there are any kinks to iron out regarding auth (I'm using lucia for my personal project, so haven't fiddled with oAuth in that context yet) Hopefully more news in the evening when I get back from work :cooldoge:

Did you find this page helpful?