When I try to use the connect framework within an Angular application I get alot of CORS errors and I cannot get the framework to work.
I've included within the index.html and within the component I call the code below:
public ngOnInit(): void {
dymo.label.framework.init();
dymo.label.framework.checkEnvironment();
console.log(dymo.label.framework.getPrinters());
}
See CORS errors below. Is there a way to use a custom http client for the communication? Or any other way to get this to work in an Angular application?
When I try to use the connect framework within an Angular application I get alot of CORS errors and I cannot get the framework to work.
I've included within the index.html and within the component I call the code below:
public ngOnInit(): void { dymo.label.framework.init(); dymo.label.framework.checkEnvironment(); console.log(dymo.label.framework.getPrinters()); }
See CORS errors below. Is there a way to use a custom http client for the communication? Or any other way to get this to work in an Angular application?