0
shridhar.mole created
- 8.9
- Angular
- .net core
Hi, I want to use DHTMLX diagram library in my angular project, and they dont have any npm package for that. so we need to add their javascript & css files into our project. I add that files reference into index.html file as `
` but then I was not able to acces that library. Then I added that files reference into angular.json files after that I was able to access the library but for export feature I am getting the error below "failed to read the 'cssrules' property from 'cssstylesheet' cannot access rules". please suggest the proper way to add external javascript libraries into asp.net zero angular project. and details about the above error. Thanks3 Answer(s)
-
0
It happens when I click on button to export my dhtmlx diagram to pdf. Can you please tell me how can we add external libraries and css files into our project and in which files we need to configure that. like in index.html or angular.json. Please tell me this in brief.
-
0
Hi @shridhar.mole
like in index.html or angular.json.
Both approach works but we suggest adding them to angular.json. So, your approach is correct. Probably dhtmlx is making a remote request which causes this problem.