-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't work anymore: Unexpected identifier #20
Comments
Hi @PedroD Very helpful if you can share in case you figured out an alternative approach. |
I got it working by adding process.client while importing in the plugin... From my ~/plugins/vue-pivottable.js from nuxt
|
Hi. I ended up creating my own component out of it instead of using this one. It was a very tricky and strange experience:
To make this work you need to include the following (in Nuxt this should be in the
In the
Then just add these dependencies to your package.json: |
Thanks for sharing . |
This happens when I try to add it as a plugin in NuxtJS.
I have tried different combinations of ways to import the component, all with the same error message.
How to reproduce:
Start a new Nuxt project and include this component as a plugin.
The text was updated successfully, but these errors were encountered: