Translate

[Yeoman] angular-fullstack 생성시 script type에 JavaScript 가 없는이유




angular-fullstack 으로 프로젝트를 새로 생성 시 script 선택란에 JavaScript 가 없어 당황했다.


lucifer@lucifer-Vostro-V13:/source/angular/SPA-test$ yo angular-fullstack SPATest

     _-----_
    |       |
    |--(o)--|   .--------------------------.
   `---------´  |    Welcome to Yeoman,    |
    ( _´U`_ )   |   ladies and gentlemen!  |
    /___A___\   '__________________________'
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

Out of the box I create an AngularJS app with an Express server.

# Client

? What would you like to write scripts with?
❯ Babel
  TypeScript




angular-fullstack 이슈(Link)를 보니 Babel을 선택 시 output 이 JavaScript 로 생성이 되며 ECMAScript 5 문법을 지원하니 JavaScript 를 사용하려면 Babel 을 사용하라고 가이드 되어있다.





참조
https://github.com/angular-fullstack/generator-angular-fullstack/issues/1627



댓글