Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin not compatible with ng-zorro-antd. #66

Open
gs-mrpatil opened this issue Dec 7, 2019 · 1 comment
Open

plugin not compatible with ng-zorro-antd. #66

gs-mrpatil opened this issue Dec 7, 2019 · 1 comment

Comments

@gs-mrpatil
Copy link

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?

@llccing
Copy link

llccing commented Mar 25, 2021

look this issue, NG-ZORRO/ng-zorro-antd#2243.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants