Zendesk SDK Web with React JS



Publication le 18 mars 2023

How to implement the web zendesk sdk to react js inside my project 


0

2

2 commentaire

Tipene Hughes Hazem Osama

during my time, I tried to develop a library for web widget (not classic), available for react (also next js).
If you want to try on NPM

0


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

0


Se connecter pour laisser un commentaire.

Vous ne trouvez pas ce que vous cherchez ?

Nouvelle publication