Zendesk SDK Web with React JS
How to implement the web zendesk sdk to react js inside my project
-
Hey, Hazem!
The Zendesk Web Widget configuration for a react app would be similar to any other. If you're using something like create react app, you'll want to add the widget script directly to your index.html file in the public directory. If you're using Next.js, you'll need to add this to the index.js or a _document file. This will ensure that the widget is added to the DOM at the root of your app. If you need the widget only to appear on certain pages, you can add the script individually to the respective components.
I hope this helps!
Tipene
Iniciar sesión para dejar un comentario.
1 Comentarios