Aller au contenu principal
ProduitsOutils de bureauTASTECADConsultation de plansTASTEFILESGestion de fichiersTASTEFTPTransfert de fichiersTASTESSHEspace de travail à distanceTASTEZIPCompression et extractionTASTEWINMGestion de fichiersOutils pour développeursTASTECODEEnvironnement de développement intégré pour RustTASTESTUDIOEnvironnement intégré de développement et de testTASTEETLIntégration de données (ETL)ServeursTASTEREMOTEServeur de bureau à distanceTASTEGEOServeur géospatialTASTEMAILEspace de travail e-mailInvestissementTASTESTOCKApplication de bureau de trading automatique d'actionsCommencerTéléchargementsDocumentationAcheterTous les produits
Marketplace
Actualités
TechActualitésL’actu dev du jourDocs développeursLangages de programmationRustTypeScriptJavaScriptPythonGoC#JavaCC++KotlinDartFrameworks front-end webNext.jsReactVue.js · NuxtSvelteKitAngularFrameworks serveurSpring BootDjangoFastAPIASP.NET CoreNestJS · ExpressFrameworks d'applications et de bureauTauriFlutterReact NativeElectronAlgorithmesBases des algorithmesAlgorithmes essentielsAlgorithmes avancésAlgorithmes pratiques
CommunautéProjetsJournaux de développementPromptsProblèmes d’outils d’IAVitrineGuide de la communauté
CollaborerTransfert techniqueRéalisation de site webRéalisation d'application de bureauChaîne de publication et de paiementPartenaire commercialContact
ServicesBureau à distancePaquets d'installation sur mesure
TASTEDEV
Produits

Outils de bureau

TASTECADDes plans complexes, ouverts en toute légèretéTASTEFILESSeulement les fichiers utiles, au plus viteTASTEFTPLe chemin le plus net pour vos fichiersTASTESSHEntre vos serveurs et vous, un lien plus solideTASTEZIPCompresser plus vite, extraire en toute sécuritéTASTEWINMUn gestionnaire de fichiers à deux volets, pensé pour le clavier

Outils pour développeurs

TASTECODEModifier, compiler, déboguer et tester vos apps Rust dans une seule fenêtreTASTESTUDIODe l’édition aux tests à distance et aux corrections IA approuvéesTASTEETLDéplacer les données, les valeurs sous les yeux

Serveurs

TASTEREMOTEUn bureau à distance hébergé sur votre propre serveurTASTEGEOUn serveur géospatial compatible GeoServer, reconstruit en RustTASTEMAILReprenez la maîtrise de vos e-mails

Investissement

TASTESTOCKDu trading automatique d'actions selon vos règles : quand, et quoi

Commencer

TéléchargementsDernières versions de chaque produitDocsUtiliser chaque produitAcheterAbonnements et licences perpétuellesTous les produitsTous les produits en un coup d’œil
Tous les produits
MarketplaceActualités
Tech

Actualités

L’actu dev du jourAnnonces officielles : langages, frameworks, GitHub et IADocs développeursGuides des langages, frameworks et algorithmes

Langages de programmation

RustTypeScriptJavaScriptPythonGoC#JavaCC++KotlinDart

Frameworks

Frameworks front-end webNext.jsReactVue.js · NuxtSvelteKitAngular
Frameworks serveurSpring BootDjangoFastAPIASP.NET CoreNestJS · Express
Frameworks d'applications et de bureauTauriFlutterReact NativeElectron

Algorithmes

Bases des algorithmesAnalyse de complexité · Tri · Recherche · Structures de données de base · Arbres et tasAlgorithmes essentielsParcours de graphe · Plus courts chemins et arbres couvrants · Programmation dynamique · Algorithmes gloutons · Diviser pour régner · Backtracking (retour sur trace)Algorithmes avancésAlgorithmes sur les chaînes · Mathématiques et théorie des nombres · Manipulation de bits · Arbres de segments · Union-FindAlgorithmes pratiquesStratégie pour les entretiens de codage · Cache LRU · Limitation de débit · Hachage cohérent
Toute la documentation de développement
Communauté
ProjetsDécouvrir les créateurs et leurs travauxJournaux de développementDécisions et enseignementsPromptsInstructions réutilisablesProblèmes d’outils d’IAProblèmes et contournements de Claude, Codex, GeminiVitrineRéalisations terminéesGuide de la communautéConstruire en toute transparence
Collaborer
Transfert techniqueApplications natives en Rust et eguiRéalisation de site web10 langues, comptes, documentation et téléchargementsRéalisation d'application de bureauRust et egui, sans WebViewChaîne de publication et de paiementSignature, MSI, deb, rpm, AppImage, empreintesPartenaire commercialRecommandez-nous, touchez 30 %ContactDéveloppement, partenariats, investissement
Services
Bureau à distanceAccédez à votre ordinateur depuis le navigateurPaquets d'installation sur mesureSeulement l'utile, réglages préchargés
Acheter
FR
한국어EnglishDeutschEspañolFrançaisItalianoPortuguês (Brasil)日本語简体中文繁體中文
Se connecter
Se connecter
TASTEDEV

Des petits outils à un meilleur développement.

support@tastedev.netSoutenir TASTEDEV
ProduitsGamme de produitsAcheterDocsTéléchargementsMarketplaceAssistance
CommunautéProjetsJournaux de développementPromptsProblèmes d’outils d’IAVitrine
RèglesÀ proposPolitique de confidentialitéConditions d'utilisationConditions d’abonnementRemboursementRègles de la communauté
CompteSe connecterS'inscrire
Visiteurs
Aujourd’hui
Hier
Vues au total
Société
GXSOFT
Représentant
CHOI YOUNG GU
Numéro d’enregistrement
853-44-00368
Adresse
9F V24, 351 Gyeongin-ro, Michuhol-gu, Incheon, Republic of Korea
Téléphone
+82-10-4404-1523
E-mail
whitecalvin@tastedev.net
Responsable de la confidentialité
CHOI YOUNG GU

© 2026 TASTEDEVLes informations produit s'appuient sur des sources de développement vérifiées.Publié · en amélioration

Documentation Angular
Angular
Getting Started with AngularProject StructureCore ConceptsData and StateTestingDeployment
Discussions

Guide Angular · 1/6

Getting Started with Angular

Ce chapitre n'est disponible qu'en anglais pour le moment.

This chapter walks through installing the Angular CLI, creating a project, running the development server and making a first change. It finishes with a few editor tools that make day-to-day Angular work much smoother.

Prerequisites

Angular projects are built and served by the Angular CLI, which runs on Node.js. Install an active LTS or maintenance LTS release of Node.js from nodejs.org; each Angular release lists the Node.js versions it supports in the version compatibility table on angular.dev. npm comes with Node.js, but pnpm, Yarn and Bun also work.

node --version
npm --version

Installing the Angular CLI

Install the CLI globally so the ng command is available everywhere:

npm install -g @angular/cli
ng version

On Windows, PowerShell may refuse to run the ng script because of its execution policy. The Angular docs suggest allowing locally created scripts for your user with Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned. If you prefer not to install anything globally, you can run the CLI through npx instead, for example npx @angular/cli new my-app.

Creating a project

ng new creates a workspace folder, installs dependencies and initializes a Git repository:

ng new my-app

The CLI asks a few questions, such as which stylesheet format to use (CSS, SCSS, Sass or Less) and whether to enable server-side rendering (SSR) and static site generation. You can answer them up front with flags:

OptionWhat it does
--style=scssUse SCSS for component and global styles
--ssrAdd server-side rendering and prerendering support
--skip-testsDo not generate .spec.ts test files
--skip-gitDo not initialize a Git repository
--package-manager=pnpmInstall dependencies with another package manager
--defaultsAccept the default answer for every prompt

Running the development server

cd my-app
ng serve --open

The app is served at http://localhost:4200. The dev server watches your files, rebuilds incrementally and reloads the browser when you save. Use to pick another port. The generated also maps to , so both commands do the same thing.

Des questions sur ce chapitre ?
Chapitre suivantProject Structure
ng serve --port 4300
package.json
npm start
ng serve

Making a first change

The root component lives in src/app. Recent CLI versions name the files app.ts, app.html and app.css with a class called App; projects created with older versions use app.component.ts and AppComponent. The idea is the same either way:

import { Component, signal } from '@angular/core';
import { RouterOutlet } from '@angular/router';

@Component({
  selector: 'app-root',
  imports: [RouterOutlet],
  templateUrl: './app.html',
  styleUrl: './app.css',
})
export class App {
  protected readonly title = signal('my-app');
}

Replace the contents of the template with something small and save the file:

<h1>Hello, {{ title() }}!</h1>
<p>Edit src/app/app.html and save to see the change.</p>
<router-outlet />

{{ title() }} reads the title signal and renders its value. <router-outlet /> is where routed pages will appear once you add routes.

Generating code

The CLI generates components, services and other building blocks with consistent names and a matching test file:

ng generate component hero-list
ng g service hero
ng g guard auth
ng generate --help

ng g is short for ng generate. Add --dry-run to preview which files would be created. ng add installs a library and runs its setup schematic, for example ng add @angular/material.

Editor setup

  • VS Code: install the official Angular Language Service extension. It adds autocompletion, type checking and go-to-definition inside templates.
  • WebStorm and other JetBrains IDEs include Angular support out of the box.
  • Angular DevTools: a Chrome and Firefox extension for inspecting the component tree and profiling change detection in a running app.
  • Turn on format-on-save with Prettier or your preferred formatter so templates and TypeScript stay consistent.

Summary

  • Install Node.js, then the Angular CLI with npm install -g @angular/cli.
  • ng new creates a project and ng serve runs it at http://localhost:4200 with live reload.
  • The root component is in src/app; templates read signals by calling them.
  • Use ng generate for new code and the Angular Language Service in your editor.

0 commentaire

Meilleurs commentairesPlus récents d'abord

Se connecter · Connectez-vous pour laisser un commentaire.