Zendesk SDK Web with React JS



投稿日時:2023年3月18日

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


0

2

2件のコメント

      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


      サインインしてコメントを残します。

      お探しのものが見つかりませんか?

      新規投稿