Angular
Framework ActifFramework TypeScript complet par Google.
ng new nom-projet --standalone
Crée un projet Angular avec les composants standalone (Angular 17+).
ng build --stats-json
Build et génère un fichier stats.json pour analyser le bundle.
npx prettier --write "src/**/*.{ts,html,scss}"
Formate tout le code source avec Prettier.
ng update @angular/core @angular/cli
Met à jour Angular Core et CLI vers la dernière version.
ng g application nom-app
Ajoute une nouvelle application dans un workspace Angular.
ng new nom-projet
Crée un nouveau projet Angular avec les options interactives.
ng g c nom-composant --skip-tests
Génère un composant sans fichier de test.
ng g resolver resolvers/data
Génère un resolver pour la pré-récupération de données.
À propos
Framework TypeScript complet par Google.