Skip to content
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

Nuxt3 Support #3

Closed
BlackYuzia opened this issue Jun 3, 2022 · 2 comments
Closed

Nuxt3 Support #3

BlackYuzia opened this issue Jun 3, 2022 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@BlackYuzia
Copy link

Hi there.

How I could get support for nuxt3?

I try to register client-side plugin for nuxt3 (because clint&server-side plugin get error about document is not defined) and use your code example, but I fail:

image
image

Maybe you could help? 👀

@tzfun
Copy link
Owner

tzfun commented Aug 25, 2022

Sorry Nuxt is server-side compilation, missing browser-related document interface, this plugin relies on the indispensable web page component, so it can not be compiled on the server side, it is recommended that you set this component in Nuxt not to compile on the server side to try to solve the problem.

@tzfun tzfun closed this as completed Aug 29, 2022
@tzfun tzfun added the help wanted Extra attention is needed label Aug 29, 2022
@tzfun tzfun closed this as not planned Won't fix, can't repro, duplicate, stale Aug 29, 2022
@BlackYuzia
Copy link
Author

BlackYuzia commented Aug 29, 2022

@tzfun you mean if I use Client Only Component, then this could run/work in nuxt 3? Because, I expect what client sideplugin should execute only on client side, that means what he should work.

I also try test this a bit later

@tzfun tzfun mentioned this issue Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants