Polymer paper-menu with Angular2

后端 未结 1 1308
鱼传尺愫
鱼传尺愫 2021-01-24 08:14

I\'m trying to user Polymer v1.0 elements with Angular2 beta3 and I\'m having issues. Some elements work fine, such as input boxes.

However, when I try and use paper-me

1条回答
  •  说谎
    说谎 (楼主)
    2021-01-24 08:59

    You have to import all the elements you're using.

    The imports were missing for

    • paper-item
    • paper-listbox

    I also think it's important to import full polyfills

    
    

    instead of lite

        
    

    Plunker example of the fixed example.

    0 讨论(0)
提交回复
热议问题