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?
Hello,
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
/opt/gantt_pro
- 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
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:
https://files.dhtmlx.com/30d/cfa203d2fbcb7066a780a2eb2569f683/angular11+gantt_7.0.5-trial.zip
https://files.dhtmlx.com/30d/02b5b29ed6e3ee813e4a222d6a024a16/reactive-gantt+gantt-instance+7.0.13-trial.zip
However, please note, that you shouldn’t include the unminified version of Gantt in your product when you are delivering it to your customers:
https://dhtmlx.com/docs/faq.shtml