I want to use canvas-gauges lib to draw gauage, this lib is a js library, but has @types/canvas-gauges for typescript. I look at its demo, need to include guage.min.js file to html script as follows
as I know the main HTML is generated automatically in src-gen/frontend folder in theia, but how can I include the guage.min.js to make it useful?
I’m not familiar with the library in particular, but you should be able to just import the library in your frontend module code:
It probably sets up some global variables for use.
Thanks, I download @types/canvas-gauge to use type. I find some other js library directly import is ok,