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

Integration with nextjs #49

Closed
tausif-fardin opened this issue Feb 15, 2023 · 3 comments
Closed

Integration with nextjs #49

tausif-fardin opened this issue Feb 15, 2023 · 3 comments

Comments

@tausif-fardin
Copy link

tausif-fardin commented Feb 15, 2023

import { JEELIZVTO, JEELIZVTOWIDGET } from 'jeelizvtowidget';

SyntaxError: Cannot use import statement outside a module getting this error while importing.

Added the jeelizvtowidget as dev-dependencies still getting the same error.
Also getting this warning in vscode Could not find a declaration file for module 'jeelizvtowidget'.

@xavierjs
Copy link
Member

You need to disable SSR for this lib, as explained in this issue (for a similar lib, Jeeliz FaceFilter): jeeliz/jeelizFaceFilter#283

If you still need help integrating it with NextJS, I provide development services to help with integration. Please contact me at contact@jeeliz.com and provide your company details so that I can send you the SA proposal.

@tausif-fardin
Copy link
Author

tausif-fardin commented Feb 16, 2023

Umm i don't think so, I've tried using 'use client' but didn't work.
image
Couldn't find the module!

@xavierjs
Copy link
Member

Hey pal, this is the issue section of Jeeliz VTO widget.
Not a support board for basic questions about Typescript, NextJS or NPM. You can find your answers quite easily here: https://stackoverflow.com/ or there: https://www.google.com/
If you need help with that, contact me by email and I will provide paid support. But your issue is really not related to Jeeliz VTO widget. I close this issue for this reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants