antd-scss-theme-plugin icon indicating copy to clipboard operation
antd-scss-theme-plugin copied to clipboard

plugin not compatible with ng-zorro-antd.

Open gs-mrpatil opened this issue 4 years ago • 1 comments

I installed ng-zorro-antd && antd-scss-theme-plugin in angular project. Post installation and plugin configuration, it started throwing errors. themeEntryPath issues. I changed the path

const themeEntryPath = require.resolve('ng-zorro-antd/style/themes/default.less');

after that i changed the sass-loader plugin to version ^7.0.0 because loader API Schema was not compatible. (not compatible with sass-loader ^8.0.0).

Now it is throwing

Invalid CSS after " */": expected 1 selector or at-rule, was "import 'core-js/pro"

can this plugin be made compatible with ng-zorro-antd?

gs-mrpatil avatar Dec 07 '19 10:12 gs-mrpatil

look this issue, https://github.com/NG-ZORRO/ng-zorro-antd/discussions/2243.

just define a theme.less, and import in angular.json.

llccing avatar Mar 25 '21 03:03 llccing