You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Support request => Please do not submit support request here
Current behavior
As suggested in doc, <nz-root> component must be listed at outermost layer of the app, which seems inconvenient for user.
Expected behavior
High-level goal:
Do not require <nz-root> in component template.
Detailed design:
Add optional configuration param in forRoot() method.
Introduce a separate InjectionToken for that configuration param.
Use a dynamic component to apply global styles.
Use a APP_INITIALIZER to apply font styles.
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Environment
Angular version: X.Y.Z
ng-zorro-antd version: X.Y.Z
Browser:
- [ ] Chrome (desktop) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX
For Tooling issues:
- Node version: XX
- Platform:
Others:
The text was updated successfully, but these errors were encountered:
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.
lockbot
locked as resolved and limited conversation to collaborators
Sep 12, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm submitting a...
Current behavior
As suggested in doc,
<nz-root>
component must be listed at outermost layer of the app, which seems inconvenient for user.Expected behavior
High-level goal:
Do not require
<nz-root>
in component template.Detailed design:
forRoot()
method.InjectionToken
for that configuration param.APP_INITIALIZER
to apply font styles.Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Environment
The text was updated successfully, but these errors were encountered: