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

来源:-

Enix

2016-12-11 17:07

$ 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键都不能选择,或者切换。


写回答 关注

2回答

  • 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文件,我要全部选中,然后回车安装,但是空格键没反应,键盘上下键也不能切换上下选择。

Grunt-beginner前端自动化工具

通过配置Grunt自动化工具,提高您的工作效率,出乎您的想象

60388 学习 · 408 问题

查看课程

相似问题