如何使用凉亭安装聚合物铁元素? [英] How to install Polymer iron-elements using bower?

查看:182
本文介绍了如何使用凉亭安装聚合物铁元素?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用凉亭为聚合物0.9安装聚合物铁和纸元素?尝试使用bower以类似于核心元素的方式进行安装,但失败。迁移指南不提供有关升级核心/铁或纸张元素的任何信息。

  bower install聚合物/铁元素#^ 0.9.0 

bower铁元素#^ 0.9.0未缓存git://github.com/Polymer/iron-elements.git#^0.9.0
bower iron-元素#^ 0.9.0解析git://github.com/Polymer/iron-elements.git#^0.9.0
bower iron-elements#^ 0.9.0 ECMDERR无法执行git ls-remote - -tags - heads git://github.com/Polymer/iron-elements.git,#128退出代码fatal:远程错误:未找到存储库。


解决方案

新的0.9元素是 here

你可以用这种方式得到它们:

  bower install polymerelements / iron-ajax 

我不认为有整个元素收集准备好了,你应该下载每一个需要的元素。

您可以在 0.9发布信息中找到有关新元素的更多信息


元素去了哪里?

并非所有元素已被移植到
当前版本,但我们正在尽可能快地移植它们。您可以
PolymerElements
GitHub组织
中查找许多元素的在制版本。



这些元素正在重组为更加一致的产品线,
包括:


铁元素。不表达视觉风格的基本元素。大多数
的旧核心元素正在改名为铁。一些原先实施材料设计(如核心工具栏,
核心菜单,核心页眉面板)的
核心元素正在被转移到纸上。

纸张元素。材料设计元素。所有旧纸 -
元素,以及一些旧的核心元素。

霓虹元素。动画元素。

这些元素集将在Polymer 1.0时间范围内以自己的网站启动,时间为
。新网站将包含元素的API文档
。如果您想开始使用正在运行的
版本,则单个回购是现在有关元素的最佳信息源



您还可以查看社区道路聚合物项目,这是
跟踪聚合物元素的状态。


此外,您可以在聚合物博客中找到一些有价值的信息。敬请期待!


How to install polymer iron and paper elements for Polymer 0.9 using bower? Tried using bower to install in a way similar to core-elements but fails. Migration guide doesn't provide any information on upgrading core/iron or paper elements.

bower install Polymer/iron-elements#^0.9.0

bower iron-elements#^0.9.0  not-cached git://github.com/Polymer/iron-elements.git#^0.9.0
bower iron-elements#^0.9.0     resolve git://github.com/Polymer/iron-elements.git#^0.9.0
bower iron-elements#^0.9.0     ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/Polymer/iron-elements.git", exit code of #128 fatal: remote error:    Repository not found.

解决方案

The new 0.9 elements are here.
You get them with bower this way:

bower install polymerelements/iron-ajax

I don't think there's an entire element collection ready yet, you should probably download every single needed element.

You can find more info about the new elements in the 0.9 release info:

Where did the elements go?
Not all elements have been ported to the current release, but we’re porting them as fast as we can. You can find work-in-progress versions of many elements in the PolymerElements GitHub organization.

The elements are being reorganized into more consistent product lines, including:

Iron elements. Basic elements that don’t express a visual style. Most of the old core- elements are being renamed to iron-. Some former core- elements that implemented material design (such as core-toolbar, core-menu, core-header-panel) are being migrated to paper-.

Paper elements. Material design elements. All of the old paper- elements, plus a few of the old core- elements.

Neon elements. Animation elements.

These element sets will be launching with their own site sometime around the Polymer 1.0 timeframe. The new site will include API docs for the elements. If you want to get started with the work-in-progress versions, the individual repos are the best source for information about the elements right now.

You can also check out the community Road to Polymer project which is tracking the status of Polymer elements.

Also, you may find some valualble info in the Polymer Blog. Stay tuned!

这篇关于如何使用凉亭安装聚合物铁元素?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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