Include an existing CSS file in custom extjs theme

前端 未结 2 922
傲寒
傲寒 2021-01-06 18:22

I have an existing CSS file that I would like to include in my ExtJS production build.

I am using a custom theme. I know I can go to MyApp/packages/myCustomTheme/sa

2条回答
  •  一个人的身影
    2021-01-06 18:36

    According to the guide, we should be placing @import statements in etc/all.scss.

    I found that in doing this, any imported files were in fact compiled in our theme's css file. Imports were not used in the production build.

    http://docs.sencha.com/extjs/4.2.1/#!/guide/theming - see the section on "Adding Custom Utility SASS"

提交回复
热议问题