We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Could you add lit-element and lit-element-ts template presets?
lit-element
lit-element-ts
The text was updated successfully, but these errors were encountered:
Does lit-element really need a template? Like, this is all you need:
npm install -D vite npm install lit-element
index.html
<script type="module" src="/main.ts"></script> <my-element></my-element>
main.ts
import {LitElement, html, customElement, property} from 'lit-element'; @customElement('my-element') class MyElement extends LitElement { // Declare observed properties @property() adjective = 'awesome'; // Define the element's template render() { return html`<p>your ${this.adjective} template here</p>`; } }
Sorry, something went wrong.
830f3d3
No branches or pull requests
Could you add
lit-element
andlit-element-ts
template presets?The text was updated successfully, but these errors were encountered: