We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我的ng-alain.json内如如下:
{ "$schema": "./node_modules/ng-alain/schema.json", "theme": { "additionalThemeVars": [ "./src/app/layout/pro/styles/theme-#NAME#.less", "./src/styles/fix/theme-#NAME#.less" ], "list": [ { "theme": "dark" }, { "theme": "compact" } ] } }
其中的less文件的路径是正确的。 执行 npx ng-alain-plugin-theme -t=themeCss 生成了对应的css文件: ✅ Style 'dark' generated successfully. Output: src/assets/style.dark.css ✅ Style 'compact' generated successfully. Output: src/assets/style.compact.css. 但是compact主题下的自定义样式未在页面生效。经排查发现, ./src/app/layout/pro/styles/theme-compact.less和./src/styles/fix/theme-compact.less中的自定义样式不在新生成的src/assets/style.compact.css中,。 请问这是哪里的问题,谢谢
npx ng-alain-plugin-theme -t=themeCss
✅ Style 'dark' generated successfully. Output: src/assets/style.dark.css
✅ Style 'compact' generated successfully. Output: src/assets/style.compact.css
./src/app/layout/pro/styles/theme-compact.less
./src/styles/fix/theme-compact.less
src/assets/style.compact.css
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我的ng-alain.json内如如下:
其中的less文件的路径是正确的。
执行
npx ng-alain-plugin-theme -t=themeCss
生成了对应的css文件:
✅ Style 'dark' generated successfully. Output: src/assets/style.dark.css
✅ Style 'compact' generated successfully. Output: src/assets/style.compact.css
.但是compact主题下的自定义样式未在页面生效。经排查发现,
./src/app/layout/pro/styles/theme-compact.less
和./src/styles/fix/theme-compact.less
中的自定义样式不在新生成的src/assets/style.compact.css
中,。请问这是哪里的问题,谢谢
The text was updated successfully, but these errors were encountered: