akveo / akveo/nebular

Nebular adding app-routing.module.ts

Ouverte
#2,157 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
TypeScript
Étoiles
8.1k
Forks
1.5k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

When installing nebular using command `ng add @nebular/theme`, why it is adding `app-routing.module.ts` to the project even when the project initially did not have the routing module.

Also when removed, the routing module from the app.module's import array, an error is thrown -
`AppComponent.html:1 ERROR NullInjectorError: StaticInjectorError(AppModule)[RouterModule -> Router]:`

Why such dependency on the routing module for nebular? Is the routing module mandatory to work with nebular?

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.