Beginner question: relation of zip file to npm package [Vue]

Hi,

I was asked to create a POC with DHTMLX Gantt for Vue (using 2.7 in this project) and typescript for my company. I am not used to using commercial packages for frontend components, and I would need a bit of help here.

As I registered to the trial version of your components, I was able to download a zip file that contains a big js file and other dependencies.

Now, all the examples in various repos, and the tutorials as well, do not mention this zip file and/or its contents; instead, they all refer to an npm package, as if the zip file was, in fact, totally useless.

Can someone please tell me what I should use? The npm packages, or the zip file? Or both?

Thank you in advance,

ckem

Hello,
The guides use the NPM package because it contains the GPL version, so it can be used by anyone.
If you have the Pro or Trial version, you need to add it to your project to use the Pro features.
Right now, we don’t have an NPM package with 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

Here is the Vue 2.x demo with the Trial version of Gantt:
https://files.dhtmlx.com/30d/90eab20c3b25efb2a77bde2fd3560a95/vue+7.1.4_trial.zip

1 Like

Thank you very much. That’s a lot clearer now.