One thing you'll need to do (that's missing from the current version of the
guide) is *remove* your existing bower_components folder to make sure it
doesn't try to resolve packages against stuff you already have installed.

On Tue, Apr 25, 2017 at 10:08 AM, Laurent Besson <[email protected]>
wrote:

> Hi,
>
> I would like to upgrade my custom component to class-based elements on an
> hybrid poject.
> My project run actually with Polymer 1.7.1 and I would like to switch to
> a Hybrid project having Polymer 1.7.1 and have Polymer 2.0.0-rc.7 in
> parallel. I followed this guide https://www.polymer-
> project.org/2.0/docs/devguide/hybrid-elements.
>
> I tried to update too update my following  dependencies:
>
> "paper-button": "PolymerElements/paper-button#2.0-preview",
> "paper-input": "PolymerElements/paper-input#2.0-preview",
> "paper-icon-button": "PolymerElements/paper-icon-button#2.0-preview",
> "paper-card": "PolymerElements/paper-card#2.0-preview",
> "paper-toggle-button": "PolymerElements/paper-toggle-button#2.0-preview",
> "paper-tooltip": "PolymerElements/paper-tooltip#2.0-preview",
> "paper-material": "PolymerElements/paper-material#2.0-preview",
> "paper-spinner": "PolymerElements/paper-spinner#2.0-preview",
> "paper-item": "PolymerElements/paper-item#2.0-preview",
> "paper-dialog": "PolymerElements/paper-dialog#2.0-preview",
> "paper-checkbox": "PolymerElements/paper-checkbox#2.0-preview",
> "paper-toolbar": "PolymerElements/paper-toolbar#2.0-preview".
>
> A the end I have polymer 1.9.1 in my bower folder instead of 2.0.0 rc and
> so I do not have
> *polymer.element.htm*l which is required for class-based elements.
>
> class MyElement extends Polymer.Element
>
>
> Do you have a explanation or a solution for this issue?
>
>
> Thanks.
>
>
> Laurent
>
>
>
>
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/polymer-dev/aacbeea7-6a8e-4b84-985c-daa13aa98d0b%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/aacbeea7-6a8e-4b84-985c-daa13aa98d0b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CADSbU_zz5jOzUjbtipX_E4JkaxiNoPoLefXdWJzNTHGMgEuBmg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to