Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Mqxx committed Nov 9, 2023
1 parent 8f3bba3 commit fea5c61
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions src/client/index.ts
Original file line number Diff line number Diff line change
@@ -1,21 +0,0 @@
import {LitElement, css, html} from 'https://esm.sh/lit@3.0.2';
import {customElement, property} from 'https://esm.sh/lit@3.0.2/decorators.js';

@customElement('simple-greeting')
export class SimpleGreeting extends LitElement {
// Define scoped styles right with your component, in plain CSS
static styles = css`
:host {
color: blue;
}
`;

// Declare reactive properties
@property()
name?: string = 'World';

// Render the UI as a function of component state
render() {
return html`<p>Hello, ${this.name}!</p>`;
}
}

0 comments on commit fea5c61

Please sign in to comment.