#routing

5 commande(s) avec le tag #routing

Commandes partagées par la communauté CodeBox, copiables en un clic.

Flutter Ajouter GetX

Ajoute GetX pour state management, routing et DI.

bash
flutter pub add get

Ajoute GoRouter pour la navigation déclarative.

bash
flutter pub add go_router

Génère un module avec son fichier de routing.

bash
ng g module nom-module --routing

Génère un guard pour la protection des routes.

bash
ng g guard guards/auth

Génère un resolver pour la pré-récupération de données.

bash
ng g resolver resolvers/data