问答详情
源自:-

windows下使用gitbash,用yo angular learnangular生成angular项目,该如何选择配置文件。

$ yo angular learnangular

    _-----_

    |       |    ╭──────────────────────────╮

    |--(o)--|    │    Welcome to Yeoman,    │

   `---------´   │   ladies and gentlemen!  │

    ( _´U`_ )    ╰──────────────────────────╯

    /___A___\   /

     |  ~  |

   __'.___.'__

 ´   `  |° ´ Y `

Out of the box I include Bootstrap and some AngularJS recommended modules.

? Would you like to use Sass? (Y/n) y

? Would you like to use Sass? Yes

? Would you like to include Bootstrap? (Y/n) y

? Would you like to include Bootstrap? Yes

? Which modules would you like to include? (Press <space> to select, <a> to tog

gle all, <i> to inverse selection)

>(*) angular-animate.js

 ( ) angular-aria.js

 (*) angular-cookies.js

 (*) angular-resource.js

 ( ) angular-messages.js

 (*) angular-route.js

 (*) angular-sanitize.js

 (*) angular-touch.js

提示使用(Press <space> to select, <a> to toggle all, <i> to inverse selection)。空格键选择,但是按空格无效,键盘上下键和a键,i键都不能选择,或者切换。


提问者:Enix 2016-12-11 17:07

个回答

  • alex_lee
    2017-07-12 11:41:43

    git bash 下面不行,但是 cmd 下可以。

  • Enix
    2016-12-11 17:09:58

    ? Which modules would you like to include? (Press <space> to select, <a> to tog

    gle all, <i> to inverse selection)

    >(*) angular-animate.js

     ( ) angular-aria.js

     (*) angular-cookies.js

     (*) angular-resource.js

     ( ) angular-messages.js

     (*) angular-route.js

     (*) angular-sanitize.js

     (*) angular-touch.js

    就这最后这一步让选择配置的js文件,我要全部选中,然后回车安装,但是空格键没反应,键盘上下键也不能切换上下选择。