admin 管理员组文章数量: 1184232
when i am import import { KENDO_GRID } from '@progress/kendo-angular-grid';
this KENDO_GRID in import arrays than it is show the imports' must be an array of components, directives, pipes, or NgModules. Value is of type '[DrawerModule, Array, Array, Array, (not statically analyzable)]'.
this error
/* eslint-disable max-len */
import { Component, OnInit } from '@angular/core';
import { KENDO_BUTTON } from '@progress/kendo-angular-buttons';
import { KENDO_TEXTBOX } from '@progress/kendo-angular-inputs';
import { DrawerModule, KENDO_GRIDLAYOUT } from '@progress/kendo-angular-layout';
import { KENDO_GRID } from '@progress/kendo-angular-grid';
@Component({
selector: 'app-dashboard',
standalone: true,
imports: [DrawerModule , KENDO_TEXTBOX , KENDO_BUTTON , KENDO_GRIDLAYOUT , KENDO_GRID] ,
templateUrl: './dashboardponent.html',
styleUrl: './dashboardponent.scss'
})
export class DashboardComponent implements {
}
and i am not able to use grid component .
本文标签:
版权声明:本文标题:angular - KendoUI grid component import error 'imports' must be an array of components, directives, pipes, or Ng 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://roclinux.cn/p/1741775151a2314482.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论