Download links for Polymer 2 won't work anymore

32 views
Skip to first unread message

Ben Sisakht

unread,
Oct 11, 2018, 11:17:23 PM10/11/18
to Polymer
Hey I"m trying to download bunch of elements from webcomponent.org but they won't work for the versions lower than 3. So something like this 

npm install --save PolymerElements/paper-button

for instance won't work which is directly taken out from the website. 

Joern Turner

unread,
Oct 13, 2018, 8:28:38 AM10/13/18
to Polymer
for versions before 3 try to use bower

bower install --save PolymerElements/paper-button#^2.0.0

However i agree and already complained about the politics regarding Polymer2. Seems that only 3.0 is of interest and it is assumed that everybody is happy (and able) to move on to version 3. This is not a good example of open source and sustainability - leaving users of older versions in the dust.

John Teague

unread,
Nov 1, 2018, 8:28:33 PM11/1/18
to Polymer
It's not moving up as much as moving a step over from version 2 to 3. The code really doesn't change, or the concepts and methods. Polymer 3 provides a quick path from HTML Imports, which is deprecated because several browser vendors wouldn't support it, to ES Modules managed by NPM, which is supported by all of them. There is a migration tool that takes care of asignificant

gorp...@gmail.com

unread,
Nov 28, 2018, 8:34:56 PM11/28/18
to Polymer
Hi Ben and Joern, 

It's not our intention to suggest that everyone is happy and able to move to version 3, which is why we're still maintaining both 1.x and 2.x. 

On the other hand, webcomponents.org does make it hard to find older versions of the elements, and that's confusing. There are basically separate versions of the page for npm and bower versions of the same element.

If you find an element via search, and it has an npm version, you'll end up on the page for the npm version:

https://www.webcomponents.org/element/@polymer/iron-icon

Click "View Bower Docs" in the left nav to see the bower versions:


Finally, click on the + side on the top of the left column (next to "and installed with bower") to show the actual install command.

Thanks,
Arthur

Joern Turner

unread,
Nov 30, 2018, 7:13:23 AM11/30/18
to Polymer
Arthur,

thanks for pointing out the link to the bower docs. I actually overlooked it. however i agree that navigation to the 'older' stuff is a bit below optimal ;)

thanks Joern
Reply all
Reply to author
Forward
0 new messages