-
Notifications
You must be signed in to change notification settings - Fork 118
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
Self in not defined in Nuxt.js #21
Comments
Hi, can you please check if you can solve the problem as in #12? |
Hi, the author of this issue left a comment about solving the problem, but I don't understand what exactly needs to be done? |
Solution:
vue-pdf-embed.js:
|
Thank you for the solution but I am still getting the Self Not Defined issue. This is my vue-pdf-embed.js file
and this is in my vue file
Additionally, just installing this plugin is breaking all the js on my whole site. Please can somebody help?! Thank You :) |
In Nuxt 3, create a file in /plugins and name it vue-pdf-embed.client.ts with this code ->
In your page/component, use it like that : |
this worked for me:
|
I got this problem too in NuxtJs 2. |
Very detail. Big thanks |
Same issue here, did you find a solution? |
Quick and easy steps for Nuxt3 integration as a plugin:
|
Done :)! I did not found this topic waiting for an answer |
The text was updated successfully, but these errors were encountered: