我正在尝试将JQXdatatable ijn设置为Angular 6,我遇到了类似的问题 “请通过npm中的'files'或'include'属性确保它在您的tsconfig中”。 我已全部更新,但无法运行<我的节点是9.2.0,如何将其设置到Angular应用程序中
app.module.ts==>
import { jqxDataTableComponent } from 'jqwidgets-scripts/jqwidgets-`ts/angular_jqxdatatable';`
import{
DxSelectBoxModule,
DxTextBoxModule,
DxTextAreaModule,
DxTagBoxModule,
DxDateBoxModule,
DxButtonModule,
DxValidatorModule
} from 'devextreme-angular';
import { MatTableModule } from '@angular/material';
import {CdkTableModule} from '@angular/cdk/table';
import notify from 'devextreme/ui/notify';
import {MatCardModule} from '@angular/material/card';
import {MatButtonModule} from '@angular/material/button';
import {MatSelectModule} from '@angular/material/select'
@NgModule({
declarations: [
AppComponent,
PageloaderComponent,
PageDirective,
GridComponent,
FormComponent,
TabpanelsComponent,
PageComponent,
NavComponent,
TreeComponent,
PivotComponent,
ColspanDirective,
LogComponent,
CreateTemplatePdfComponent,
TemplateViewComponent,
PdfViewerComponent,
FileUploadComponent,
DataModelComponent,
jqxDataTableComponent
Angular.Json==>
"tsConfig": "src/tsconfig.app.json",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"node_modules/devextreme/dist/css/dx.common.css",
"node_modules/devextreme/dist/css/dx.material.blue.light.css",
"node_modules/jquery-select-areas/resources/jquery.selectareas.css",
"node_modules/jqwidgets-scripts/jqwidgets/styles/jqx.base.css",
"src/styles.scss"
],
"scripts": [
"src/assets/config/app-config.js",
"node_modules/jquery-select-areas/jquery.selectareas.js",
"node_modules/jquery-select-areas/jquery.selectareas.min.js",
"node_modules/jqwidgets-framework/jqwidgets/jqxdatatable.js"
package.json ==>``
"dependencies": {
"@angular/animations": "^6.1.7",
"@angular/cdk": "^6.4.7",
"@angular/common": "^6.0.3",
"@angular/compiler": "^6.0.3",
"@angular/core": "^6.0.3",
"@angular/forms": "^6.0.3",
"@angular/http": "^6.0.3",
"@angular/material": "^6.4.7",
"@angular/platform-browser": "^6.0.3",
"@angular/platform-browser-dynamic": "^6.0.3",
"@angular/router": "^6.0.3",
"core-js": "^2.5.4",
"devextreme": "^18.1.5",
"devextreme-angular": "^18.1.5",
"i": "^0.3.6",
"jquery": "^3.3.1",
"jquery-select-areas": "^0.1.0",
"jqwidgets-framework": "^7.0.0",
"jqwidgets-scripts": "^7.0.0",
"npm": "^6.4.1",
"rxjs": "^6.0.0",
"tabula-js": "^1.0.1",
"update-node": "^0.1.0",
"zone.js": "^0.8.26"
tsconfig.json ==>
"paths": {
"jszip": [
"node_modules/jszip/dist/jszip.min.js"
],
"include": [
"src/app/app.module.ts"`enter code here`
],
"files": [
"node_modules/jqwidgets-scripts/jqwidgets-ts/angular_jqxgrid.ts"]
}
嗨,我正在尝试将JQXdatatable ijn设置为Angular 6,我遇到类似“请确保通过npm中的'files'或'include'属性确保它位于您的tsconfig中的问题。我已全部更新,但无法运行<我的节点是9.2.0,如何将其设置到Angular应用程序中