Aller au contenu principal

TP 1.1 : Premier Projet

Objectifs

  • Créer et exécuter un projet Angular

Instructions

  • Dans votre workspace, créez un projet Angular en utilisant npx -p @angular/cli@16 ng new sandbox
    • Cela créera votre projet dans un dossier nommé sandbox
  • Accédez à votre projet en utilisant cd sandbox
  • Tapez ng serve pour lancer le serveur
  • Ouvrez votre navigateur web à l'adresse http://localhost:4200
  • Vous devriez voir votre projet Angular en cours d'exécution.