我尝试在有角度的7示例项目中安装jqwidget,但在下面出现错误。
ERROR Failed to compile with 1 errors 6:54:28 PM
error in ./node_modules/jqwidgets-scripts/jqwidgets-ts/angular_jqxbargauge.ts
Module parse failed: Unexpected token (15:8)
You may need an appropriate loader to handle this file type.
|
| import { Component, Input, Output, EventEmitter, ElementRef, OnChanges, SimpleChanges } from '@angular/core';
> declare let JQXLite: any;
|
| @Component({
我做了jqwidgets文档中关于在angular 7中使用它的操作。