Fichier package.json
Explications package.json
Fichier tsconfig.json
Permet de spécifier des options pour la compilation du TypeScript en JavaScript. Voir les ressources suivantes : https://github.com/Microsoft/TypeScript/wiki/tsconfig.json https://github.com/Microsoft/TypeScript/wiki/Compiler-Options Création d'un composant
Les étapes sont : * Imports * Décorateurs * Classes Fichier boot.ts
Ce fichier permet de booter notre application. On boote notre composant principal. Attention à bien utiliser angular2/platform/browser. Fichier index.html
* Chargement des librairies nécessaires * Chargement du module via SystemJS * Affichage de notre composant Récapitulatif
|
Cheatography
https://cheatography.com
Angular 2 - Démarrer un projet Cheat Sheet by Kelem
Etapes pour démarrer un projet Angular 2
Created By
Metadata
Favourited By
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets