я
Hello guys,
I woult migrate my app from Polymer 1.9.1 version to Polymer 2.0 version.

Currently I updated the template of components to hybrid mode. 
I did such types of changes: 
1)replace content tag with slot tag, 
2)replace ::content with ::slotted
3)wrap styles with template tag

But my hybrid elements still have references to components under polymer 1.9.1.

So when I try to use these hybrid components, I recive error:
polymer-micro.html:449 Uncaught DOMException: Failed to execute 
'registerElement' on 'Document': Registration failed for type 'dom-module'. A 
type with that name is already registered.



When I am replacing references to Polymer 1.9.1 with Polymer 2.0 I am also 
getting the error.

So, could you please advice, what should I do for running my hybrid component 
under Polymer 2.0?
Is it possible to leave the references to Polymer 1.9.1? Or is it not possible 
to run such components under Polymer 2.0?

Should I do some other actions for migration to Polymer 2.0?

Thanks.

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/36a0f224-320a-444a-ba24-a588f9e41af8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to