How to add commerical license key in react code


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

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:

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