Outils pour utilisateurs

Outils du site


web:javascript:angularjs:demarrer_un_projet

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
web:javascript:angularjs:demarrer_un_projet [2014/12/12 20:03] – créée sgariepyweb:javascript:angularjs:demarrer_un_projet [2022/02/02 00:42] (Version actuelle) – modification externe 127.0.0.1
Ligne 1: Ligne 1:
-====== Démarrer un projet ======+====== Démarrer un projet AngularJS ====== 
 + 
 + 
 +  - Installer NodeJS. 
 +  - Installer Yeoman : ''$ npm install -g yo'' 
 +  - Installer Bower : ''$ npm install -g bower'' 
 +  - Installer Grunt : ''$ npm install -g grunt-cli'' 
 +  - Installer Angular Generator : ''$ npm install -g generator-angular'' 
 + 
 +====== Configurer Yeoman ====== 
 +  - Initialisation : ''$ yo angular'' 
 +  - Dans la configuration, choisir les option, par exemple : 
 +    - SASS: no 
 +    - Bootstrap: Yes 
 +    - Modules: none 
 + 
 +====== Démarrer Grunt ====== 
 +  * En installant ''generator-angular'' va créer le fichier Gruntfile.js. 
 +  * ''$ grunt serve'' 
 + 
 +====== Installations Bower ====== 
  
   * [[ui-router]]   * [[ui-router]]
   * [[http://angular-ui.github.io/bootstrap/|UI Bootstrap]]   * [[http://angular-ui.github.io/bootstrap/|UI Bootstrap]]
web/javascript/angularjs/demarrer_un_projet.1418411032.txt.gz · Dernière modification : 2022/02/02 00:43 (modification externe)