#standalone
3 commande(s) avec le tag #standalone
Commandes partagées par la communauté CodeBox, copiables en un clic.
Angular
Générer un composant standalone
Génère un composant standalone sans NgModule.
ng g c nom-composant --standalone
Migre automatiquement les composants vers le mode standalone.
ng generate @angular/core:standalone
Angular
Créer un projet standalone
Crée un projet Angular avec les composants standalone (Angular 17+).
ng new nom-projet --standalone