jqwidget:使用jqwidget的Webpack错误“声明让JQXLite:任何”

时间:2019-02-01 15:30:36

标签: jqwidget

我尝试在有角度的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文档中关于在an​​gular 7中使用它的操作。

0 个答案:

没有答案