Closed Paulami31 closed 3 weeks ago
Your link seems to be the minified version of the code, where all variables are renamed to single letters. This might be why you can't find 'Gantt', because in your source it's been renamed to 'B' it seems like.
Before this v0.8.0 there was a frappe-gantt.js
and a frappe-gantt.min.js
, but with this release it seems like only the minified version is available/compiled.
You could try downloading the source locally and compiling it with yarn.
so you are suggesting me to use min one? can you please provide me the cdn link and asking me to use it locally?
@Paulami31 - use https://cdn.jsdelivr.net/npm/frappe-gantt/dist/frappe-gantt.umd.js
please.
(or https://cdn.jsdelivr.net/npm/frappe-gantt/dist/frappe-gantt.umd.cjs
if you're still using 0.8.0. We'll figure this out and have a minified and other versions)
hey @safwansamsudeen I have used - https://cdn.jsdelivr.net/npm/frappe-gantt/dist/frappe-gantt.umd.js
but still lookwise it is not same as it was before the updates, infact the view_mode functions are also not working, can you please check on this?
That's weird - could you share your code?
Yes, the view has changed a lot, but it isn't supposed to be broken like this. Did you import the CSS - frappe-gantt.css
?
`<!DOCTYPE html>
@safwansamsudeen hey can you please check the issue?
That's weird - could you share your code?
Yes, the view has changed a lot, but it isn't supposed to be broken like this. Did you import the CSS -
frappe-gantt.css
?
please check the code
I am using the frappe gantt chart library in my html file, it was all working fine till 13th sep 2024, after that it suddenly throwing me error as - Gantt not defined, though I’ve used online cdn links of the library, those are fine, it was working fine with that same link before, can anyone guide me what to be done to fix this?
links I am using -