gpt4 book ai didi

html - 如何使用 bower 安装 polymer 铁元件?

转载 作者:技术小花猫 更新时间:2023-10-29 12:46:18 24 4
gpt4 key购买 nike

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

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.

最佳答案

新的 0.9 元素是 here .
您可以通过这种方式使用 Bower 获取它们:

bower install polymerelements/iron-ajax

我认为还没有准备好完整的元素集合,您可能应该下载每个需要的元素。

您可以在 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.

此外,您可能会在 Polymer Blog 中找到一些有值(value)的信息.敬请期待!

关于html - 如何使用 bower 安装 polymer 铁元件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30338065/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com