Files
open-wc/packages/building-webpack/demo/js/lazy-component.js
2020-04-20 19:01:46 +02:00

18 lines
303 B
JavaScript

import { LitElement, html, css } from 'lit-element';
class LazyComponent extends LitElement {
static get styles() {
return css`
p {
color: red;
}
`;
}
render() {
return html` <p>Lazy component</p> `;
}
}
customElements.define('lazy-component', LazyComponent);