Where to download all polymer elements as zip file?

时光毁灭记忆、已成空白 提交于 2019-12-10 03:58:01

问题


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?


回答1:


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



回答2:


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



回答3:


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

    at the top of the page.
  4. Select the Download tab.
  5. Select the elements folder radio button.
  6. Click the Download button.

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.



来源:https://stackoverflow.com/questions/30552251/where-to-download-all-polymer-elements-as-zip-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!