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

Update React documentation #795

Closed
andrea-dintino opened this issue Jan 16, 2024 · 0 comments · Fixed by #972
Closed

Update React documentation #795

andrea-dintino opened this issue Jan 16, 2024 · 0 comments · Fixed by #972
Labels
documentation issue related to documentation

Comments

@andrea-dintino
Copy link
Member

npm i zenroom is not enough in React if Webpack is used then here is how to setup Zenroom (from @puria ):

...you need to configure webpack to exclude the wasm polyfills to work with react, we have done that previously for react as such: 

https://github.com/interfacerproject/interfacer-gui/blob/main/next.config.js#L24-L30

By disabling the modules that I sent you in the previous link!

OR

if you just want to client you can just import in the component in the template (vanilla html)

I just created now a small index.html to show the usage here:

https://github.com/puria/zenroom-web/blob/main/index.html
@andrea-dintino andrea-dintino added the documentation issue related to documentation label Jan 16, 2024
@matteo-cristino matteo-cristino linked a pull request Nov 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation issue related to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant