Where to download all polymer elements as zip file

2019-04-24 16:30发布

Polymer 1.0 is released recently and I can download the elements à la carte at the elements.polymer-project.org site, but I can't find an easy link to download everything in one big zip file?

Any idea where they are hiding it?

3条回答
一纸荒年 Trace。
2楼-- · 2019-04-24 17:06

You can download the Polymer Starter Kit for beginners that includes almost all the elements.

And download the missing elements as a ZIP file as suggested here.

Missing elements:

  • Google Web Components
  • Gold Elements
查看更多
我欲成王,谁敢阻挡
3楼-- · 2019-04-24 17:08

You can download a set of components as a ZIP file as suggested here.

Follow these steps to download all of the current catalog elements as a single ZIP file:

  1. Browse to https://elements.polymer-project.org/browse
  2. Click the ☆ next to each element you wish to download.
    • The ☆ will be filled (★) when selected.
    • All of the elements dependencies will be included in the ZIP file.
    • You can select all the elements if desired.
  3. Click on the star icon at the top of the page.
  4. Select the Download tab.
  5. Select the elements folder radio button.
  6. Click the Download button.

steps

Note: Keep in mind that if you choose this method (ZIP file) you will have to manage dependency updates on your own. It is recommended that you use bower instead.

查看更多
对你真心纯属浪费
4楼-- · 2019-04-24 17:19

If you are using bower run these commands:

bower install --save PolymerElements/iron-elements  
bower install --save PolymerElements/paper-elements  
bower install --save PolymerElements/gold-elements  
bower install --save PolymerElements/neon-elements  
bower install --save PolymerElements/platinum-elements  
bower install --save GoogleWebComponents/google-web-components
bower install --save PolymerElements/app-elements
查看更多
登录 后发表回答