为了账号安全,请及时绑定邮箱和手机立即绑定

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


正在回答

2 回答

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

0 回复 有任何疑惑可以回复我~

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

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

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

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信