PolymerElements / paper-button

A button à la Material Design
https://www.webcomponents.org/element/PolymerElements/paper-button
138 stars 64 forks source link

Import should be paper-material-styles for 2.0 preview #162

Closed rkief closed 6 years ago

rkief commented 7 years ago

Description

Expected outcome

Actual outcome

Request URL:http://127.0.0.1:8081/bower_components/paper-styles/element-styles/paper-material.html Request Method:GET Status Code:404 Not Found

Steps to reproduce

  1. Using 2.0 preview

Browsers Affected

mflorence99 commented 7 years ago

In addition to the import ~line 14, which should read:

<link rel="import" href="../paper-styles/element-styles/paper-material-styles.html">

the style ~line 86 must also change:

<style include="paper-material-styles">
mflorence99 commented 7 years ago

Ok, so now I see it is coded this way in the master branch. So I overcame my build problem by temporarily changing my bower.json:

...
"paper-button": "PolymerElements/paper-button#master",
...
kownacki commented 7 years ago

@mflorence99 It didn't work for me. I have no errors, but Polymer seems to not work and doesn't update properties.

valdrinkoshi commented 6 years ago

This should be fixed in the latest 2.x version \o/ closing this