There seems to be an issue with A-Frame content not rendering on Chrome, despite working fine on FireFox and Safari.
According to the demonstration on CodePen here, const { hyper, wire } = hyperHTML;
class Box extends hyper.Component {
render() { return this.html`
<a-scene>
<a-box color="red" position="0 2 -5" rotation="0 45 45" scale="2 2 2"></a-box>
</a-scene>
`;
}
}
document.body.appendChild(new Box().render());
I'm not sure what I'm missing, as the same content renders correctly as static HTML in all browsers on CodePen.
<body>
<a-scene>
<a-box color="red" position="0 2 -5" rotation="0 45 45" scale="2 2 2"></a-box>
</a-scene>
</body>