Dear
I have already download the Gantt(trial),and according to the API, use "npm install --save ../../../../build"to import Gantt,then import to my project,like this:''import { Gantt } from 'bryntum-gantt'.
but...error,I have no idea...Pls help
Support Forum
Sorry,I can't give you complete code,I don't know if the order of my installation is correct,
Pls check:
1.run: npm install --save ./public/pluglins/BryntumGantt
2.import { Gantt } from 'bryntum-gantt'
3.run: npm run watch ==>error
I can only give you these attachments(with Error)
Pls check:
1.run: npm install --save ./public/pluglins/BryntumGantt
2.import { Gantt } from 'bryntum-gantt'
3.run: npm run watch ==>error
I can only give you these attachments(with Error)
- Attachments
-
- error3.png (65.51 KiB) Viewed 2007 times
-
- error2.png (82.51 KiB) Viewed 2007 times
-
- error1.png (72.92 KiB) Viewed 2007 times
You correctly install and import Gantt so we must look elsewhere. There are 2 possible areas that come to my mind:
- do you have scss support installed? npm i node-sass?
- the trial gantt is uglified, therefore that cryptic text in error1.png. If webpack (or vue cli) attempts to transpile it then it may fail. Try to configure it to not transpile gantt code.
Try the following minimal Vue app if it works for you. You will have to install Gantt according to your path, or change path in package.json
- Attachments
-
- vue-minimal.zip
- (11.63 KiB) Downloaded 146 times