Polymer 1.0 Topeka App 的源代码在哪里?
Where is the source code for Polymer 1.0 Topeka App?
注意:应用程序的源代码已缩小。
问题
Where is the un-minified source code for the Topeka app?
- 如果是 Github repository,那么(例如)
<link rel="import" href="components/topeka-elements/topeka-app.html">
和 index.html
第 46-51 行中的其他文件导入的文件在哪里?我在存储库中没有看到任何 /contents/
目录。
- 如果源代码不是 Github 存储库,它在哪里?
- 这个缩小的
build.js
文件是怎么回事?这与通常的 index.html
文件不同。我以前从未见过 Polymer 应用程序使用它。
备注:
@bpowers 于 2015 年 9 月 14 日在 Polymer Slack Site 中表示:
看起来他们一个月前更新了构建文件,但它仍然是旧的 0.5。我能够通过打开终端并执行以下操作来构建它:
git clone https://github.com/Polymer/topeka && cd topeka && npm install && bower install && ./node_modules/vulcanize/bin/vulcanize -o build.html index.html --strip --inline --csp
-- 克隆它,进入目录,安装 deps,然后 运行 vulcanize。 vulcanize 命令来自 repo 中的 deploy.sh
脚本。
如果我 运行 该目录中的 Web 服务器,build.html 运行s
- Github 存储库是 Web 应用程序。 topeka 元素在
bower.json
- "topeka-elements": "Polymer/topeka-elements#^0.5.0"
中列为依赖项
- Find the source here
- 看起来他们已经检查了部署的固化构建输出 - 请参阅
deploy.sh
注意:应用程序的源代码已缩小。
问题
Where is the un-minified source code for the Topeka app?
- 如果是 Github repository,那么(例如)
<link rel="import" href="components/topeka-elements/topeka-app.html">
和index.html
第 46-51 行中的其他文件导入的文件在哪里?我在存储库中没有看到任何/contents/
目录。 - 如果源代码不是 Github 存储库,它在哪里?
- 这个缩小的
build.js
文件是怎么回事?这与通常的index.html
文件不同。我以前从未见过 Polymer 应用程序使用它。
备注:
@bpowers 于 2015 年 9 月 14 日在 Polymer Slack Site 中表示:
看起来他们一个月前更新了构建文件,但它仍然是旧的 0.5。我能够通过打开终端并执行以下操作来构建它:
git clone https://github.com/Polymer/topeka && cd topeka && npm install && bower install && ./node_modules/vulcanize/bin/vulcanize -o build.html index.html --strip --inline --csp
-- 克隆它,进入目录,安装 deps,然后 运行 vulcanize。 vulcanize 命令来自 repo 中的 deploy.sh
脚本。
如果我 运行 该目录中的 Web 服务器,build.html 运行s
- Github 存储库是 Web 应用程序。 topeka 元素在
bower.json
-"topeka-elements": "Polymer/topeka-elements#^0.5.0"
中列为依赖项
- Find the source here
- 看起来他们已经检查了部署的固化构建输出 - 请参阅
deploy.sh