【发布时间】:2016-10-18 04:24:35
【问题描述】:
In this Plunk, why won't the x-foo element render HELLO WORLD?.
鉴于更复杂的content-el 似乎完全正确地导入了iron-data-table。我忽略了一些简单的事情吗?请用有效的笨拙回答。
<base href="https://polygit.org/polymer/components/">
<link rel="import" href="polymer/polymer.html">
<script src="webcomponentsjs/webcomponents-lite.min.js"></script>
<dom-module id="x-foo">
<template>
<style></style>
HELLO WORLD
</template>
<script>
(function() {
'use strict';
Polymer({
is: 'x-foo',
});
})();
</script>
</dom-module>
【问题讨论】:
标签: polymer polymer-1.0 plunker iron-data-table polymer-1.x