生成最新的不稳定分支Angularjs应用程序? [英] Generate Angularjs app with latest unstable branch?

查看:91
本文介绍了生成最新的不稳定分支Angularjs应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

刚开始使用约曼和热爱它。不过,我建立这取决于某些角度1.1.x中的功能(应用程序 NG-修剪 NG-动画 )和角发生器采用了最新的稳定分支作为其默认情况下,不包含这些功能。

Just started using Yeoman and loving it. However, I am building an app that depends on some Angular 1.1.x features (ng-trim and ng-animate), and the Angular-generator uses the latest stable branch as its default, which doesn't include these features.

在约曼,请问有什么办法来产生与最新的不稳定分支的角度应用?

In Yeoman, is there any way to generate an Angular app with the latest 'unstable' branch?

推荐答案

一种解决方案是更新bower.json和使用非官方版本角不稳定:

One solution is to update your bower.json and use an unofficial build of angular unstable:

"dependencies": {
    "angular": "atizo/bower-angular-unstable#~1.1.5",

然后你必须重新运行亭子安装

这篇关于生成最新的不稳定分支Angularjs应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆