Error when initializing the trial version of Vue Gantt


#1

Vue 2.6.10

I’m following this guide to test things out: https://docs.dhtmlx.com/gantt/web__vue.html#usage

I have this line at the top of my single file component, as per the guide:

import { Gantt, DefaultTheme } from "@dhtmlx/trial-vue-gantt";

However, with this line, my app won’t boot. The following is reported in the console:

Uncaught TypeError: Object(...) is not a function
at eval (gantt.js?3b7a:1)
at Module../node_modules/@dhtmlx/trial-vue-gantt/public/dist/gantt.js (app.js:1190)
at __webpack_require__ (app.js:727)
at fn (app.js:101)
at eval (cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/projects/ProjectDetails.vue?vue&type=script&lang=js&:21)
at Module../node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/projects/ProjectDetails.vue?vue&type=script&lang=js& (app.js:2983)
at __webpack_require__ (app.js:727)
at fn (app.js:101)
at eval (ProjectDetails.vue?4421:1)
at Module../src/components/projects/ProjectDetails.vue?vue&type=script&lang=js& (app.js:15675)

Am I missing some kind of dependency or other step?