Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angular/33.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angular 如何知道自定义专题时要导入哪些样式文件?_Angular_Kendo Ui - Fatal编程技术网

Angular 如何知道自定义专题时要导入哪些样式文件?

Angular 如何知道自定义专题时要导入哪些样式文件?,angular,kendo-ui,Angular,Kendo Ui,在剑道UI的定制主题指南中,有两种方法用作示例 一, 二, 我的问题是我无法确定需要导入哪些scss样式。我只有一个Gauge组件,所以添加all看起来效率很低,而且构建时间的增加也很重要 我试图找到仪表组件的依赖项,但还没有找到模式。样式名称不会映射到模块或组件。我能看到的。这可能对你有帮助 // Import only the PanelBar and Grid styles. @import "~@progress/kendo-theme-default/scss/pane

在剑道UI的定制主题指南中,有两种方法用作示例

一,

二,

我的问题是我无法确定需要导入哪些scss样式。我只有一个Gauge组件,所以添加all看起来效率很低,而且构建时间的增加也很重要

我试图找到仪表组件的依赖项,但还没有找到模式。样式名称不会映射到模块或组件。我能看到的。

这可能对你有帮助
    // Import only the PanelBar and Grid styles.
    @import "~@progress/kendo-theme-default/scss/panelbar";
    @import "~@progress/kendo-theme-default/scss/grid";
    // styles.scss
    @import "~@progress/kendo-theme-default/scss/all";