纸按钮不起作用,错误在哪里?

paper-button doesn't work, where is the mistake?

我正在学习聚合物。想 link 纸按钮,但不起作用。哪里错了?

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Polymer</title>
    <script src="bower_components/webcomponentsjs/webcomponents.js"></script>
    <link rel="import" href="bower_components/polymer/polymer.html">
    <link rel="import" href="bower_components/paper-button/paper-button.html">

</head>
<body>
    <paper-button>flat button</paper-button>
</body>
</html>

勾选here。这是工作。
我使用以下方式制作它。我认为您导入的链接没有加载。

<script src="https://www.polymer-project.org/0.5/components/webcomponentsjs/webcomponents.min.js?20150316"></script>
<link rel="import" href="https://www.polymer-project.org/0.5/components/polymer/polymer.html">
<link rel="import" href="https://www.polymer-project.org/0.5/components/paper-button/paper-button.html">


<body>
     <paper-button>flat button</paper-button>
</body>

您的代码使用正确的 Bower 配置。这是我安装的单个模块,我想这是你的问题:

bower install Polymer/paper-elements

这在 Polymer 项目的指南 Using elements 中有记录。