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

Open
andrea-dintino opened this issue Jan 16, 2024 · 0 comments
Open

Update React documentation #795

andrea-dintino opened this issue Jan 16, 2024 · 0 comments
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
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

No branches or pull requests

1 participant