Vue or JS Guide Not Working With Nuxt
In a Nuxt application when I install the
@novu/js and try to import and moun the component I get the following error: The requested module 'solid-js/web' does not provide an export named 'use'18 Replies
Hi @jjjrmy
Could you please help us with a minimal, reproducible code repository? Are you using the latest version of
Could you please help us with a minimal, reproducible code repository? Are you using the latest version of
@novu/jsyes all I did was instal lit in Nuxt
@Pawan Jain just install nuxt then install @novu/js
@jjjrmy, you just advanced to level 1!
Thanks jjjrmy
I will check this internally and will keep you updated
I will check this internally and will keep you updated
@jjjrmy
Apologies for delay on this,
I tested
@novu/jswith boilerplate nuxt project.
https://github.com/jainpawan21/novu-inbox-nuxtI took reference of this guide
https://docs.novu.co/platform/quickstart/vue
It is working for me as expected
Vue | Novu Documentation
Create an account and learn how to start using Novu Inbox in your vue application.
I am able to reproduce the issue
Will keep you updated
any update on this?
Apologies, it is taking a bit longer than expected. I will keep you updated
@jjjrmy
by default Nuxt is rendering SSR, the Inbox component should be wrapped with ClientOnly to work (similar to NextJS ‘use client’), we don’t support SSR
https://github.com/jainpawan21/novu-inbox-nuxt/blob/main/app/app.vue#L9
what about installing? still getting that error
Is this the same error
The requested module 'solid-js/web' does not provide an export named 'use'Bumping this ⬆
sorry didn't see your message, yes taht is the error when installing the framework library.
npm install @novu/framework@jjjrmy, you just advanced to level 2!
bump @Pawan Jain
dump @Pawan Jain
@Support
Apologies for not being able to respond earlier. I will prioritize this today
nice
so what should I do @Pawan Jain