This repository has been archived by the owner on Sep 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 243
How can i use Vuera in nuxt ? #116
Comments
It has something to do with SSR. I have tried it before. |
looks like a problem with Nextjs too. I couldn't get it to parse .vue files |
I'm dealing the same issue. Looks like developers don't care about this xD |
how can I get around this error? |
The way I used this with Nuxt v2.14.12 a while ago was via a client-only plugin: // nuxt.config.js
plugins: [
{ src: '~/plugins/vuera', mode: 'client' },
], // /plugins/vuera.js
import Vue from 'vue'
import { VuePlugin } from 'vuera'
Vue.use(VuePlugin) Then in my components I was able to import things like |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
How can i use vuera in my nuxt project ?
I integrated it as specified but I get an error like below. And the whole app is breaking down. It gives the same error for all Vue components.
Uncaught Error: Objects are not valid as a React child (found: [object Promise]). If you meant to render a collection of children, use an array instead.
The text was updated successfully, but these errors were encountered: