问题标签 [polymer-app-toolbox]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
223 浏览

polymer - 聚合物构建不输出图像文件夹?

我正在关注使用 App Toolbox 构建应用程序教程。在第四步(部署)中,调用polymer build命令后创建了build/bundledandbuild/unbundled文件夹,但是里面没有images文件夹。这会导致我部署构建时选项卡图标不显示。

以下是一些截图:-

在 localhost 开发中,选项卡图标显示:

在此处输入图像描述

我将构建部署到 firebase ( https://polymer-app-toolbox.firebaseapp.com/ ),没有 app-icon 因为 images 文件夹不在构建输出中:

在此处输入图像描述

我错过了什么吗?还有其他人看到同样的问题吗?

0 投票
1 回答
100 浏览

polymer - 铁滚动阈值不适用于应用程序标题布局

我似乎无法iron-scroll-thresholdiron-list内部合作app-header-layout

请注意,出于与某些第 3 方组件的兼容性原因,我仍然使用 Polymer 1 (1.11.3)。

这是一个简化的代码示例:

我要滚动的元素是: