找不到纸张-button.html

cannot find paper-button.html

我是 Polymer 的新手。执行本教程:https://auth0.com/blog/build-your-first-app-with-polymer-and-web-components/

我的问题是我的项目找不到文件 http://127.0.0.1:8081/bower_components/paper-button/paper-button.html

我确实用 bower 安装了它:

bower install PolymerElements/paper-button --save

并且创建了目录,但是里面没有.html文件。

所以当我尝试将它包含在我的组件中时

<link rel="import" href="../bower_components/paper-button/paper-button.html">

我收到 404

bower上最新版本的PolymerElements实际上是es模块版本

要获取 Polymer 2 / HTML 导入版本,请安装

PolymerElements/paper-button@^2.1.3