How to add commerical license key in react code

Hi,

I have purchased commerical version of dhtmlx Gantt and how to add licence key in my react code

Hello,
We don’t have an NPM package of the Pro version. But you can install Gantt as an NPM package the following way:

  1. Unpack Gantt to a specific folder, for example, to /opt/gantt_pro
  2. Use the following command to install Gantt:
npm install /opt/gantt_pro

You can read more about installation methods in the following article:
https://docs.dhtmlx.com/gantt/desktop__install_with_bower.html#addingproeditionintoproject

To check that you have the Pro version, you can apply the following command in the web console:

gantt.license