0
我一直在嘗試使用聚合物CDN,但是我甚至無法渲染單個聚合物元素。在下面的plunk和代碼鏈接中,我嘗試渲染紙張和紙張按鈕。請有人告訴我我做錯了什麼。謝謝。usin聚合物cdn polygit
https://plnkr.co/edit/z0y06qu4LdfpxhcpYyn7?p=preview
...
<head>
<base href="http://polygit.org/polymer+:master/components/">
<script src="webcomponentsjs/webcomponents-lite.min.js"></script>
<link href="polymer/polymer.html" rel="import">
` <link rel="import" href="paper-material/paper-material.html">
<link href="paper-button/paper-button.html" rel="import">
<link href="paper-tabs/paper-tabs.html" rel="import">
</head>
<body unresolved>
<paper-button raised>New</paper-button>
<paper-tabs>
<paper-tab>Color</paper-tab>
<paper-tab>Code</paper-tab>
<paper-tab>Mark</paper-tab>
</paper-tabs>
</body>
...
謝謝。我只是複製了polygit.org的鏈接而沒有檢查。我非常感謝你的時間和精力。 –