hello,at the beginning,I “npm install dhtmlx-gantt” to download free trial dhtmlx-gantt codebase in my node_modules,later,my company buy DHTMLX Gantt (Ultimate License) .I use password to download codebase dhtmlx_7.1.2,and replace free trial dhtmlx-gantt in node_modules.But in this way, when I upload my codebase to git,the node_modules not uploaded,so how to correct use ultimate license product?
Unfortunately, we don’t have an NPM package with the Pro version. But you can install Gantt as an NPM package the following way:
- Unpack Gantt to a specific folder, for example, to
- Use the following command to install Gantt:
npm install /opt/gantt_pro
You can read more about installation methods in the following article:
It is not recommended to replace files in the
node_modules folder. When you do that, you are only replacing them on your computer.
If you unpack Gantt in a folder inside your project and install it with the
npm install command, NPM will add a link to the folder and modify the
package.json file. And when you run your application on another computer, Gantt will be there after you run the
npm install command.
Here are examples:
However, please note, that you shouldn’t include the unminified version of Gantt in your product when you are delivering it to your customers: