注意:应用程序的源代码缩小了。
问题
应用程序的非小型化源代码在哪里?
<link rel="import" href="components/topeka-elements/topeka-app.html">和index.html第46-51行中的其他文件导入的文件在哪里(例如)?我在存储库中没有看到任何/contents/目录。build.js文件,等等?这与传统的index.html文件不同。我以前还没见过聚合物应用程序用过它。备注:
@bpower 9-14-2015在https://polymer.slack.com/上说
看起来他们在一个月前更新了构建文件,但它仍然是旧的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 --克隆它,进入dir,安装dir,然后运行硫化。硫化命令来自回购中的deploy.sh脚本。
如果我在该目录中运行web服务器,则build.html将运行
发布于 2015-09-15 01:26:03
bower.json - "topeka-elements": "Polymer/topeka-elements#^0.5.0"中被列为依赖项。deploy.shhttps://stackoverflow.com/questions/32576177
复制相似问题