Consolidate Lit repositories: figma-to-lit, figma_lit_example, lit-3d-piano, lit-calculator, lit-code-editor, lit-draggable-dom, lit-file-based-routing, lit-force-graph, lit-html-editor, lit-html-table, lit-modules, lit-native, lit-node-editor, lit-sheet-music, lit-starter-ts, lit-vscode-extension, lit-wmr, vite-lit-capacitor, vite-lit-element-starter, vite-rxdb-lit

This commit is contained in:
2026-05-16 22:17:12 -07:00
parent 4dc3c8a3ff
commit 95667e3038
527 changed files with 63872 additions and 54 deletions
+15
View File
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Lit + WMR</title>
<meta name="description" content="Lit WMR App" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="icon" href="data:" />
<link rel="modulepreload" as="script" href="/index.js" />
</head>
<body>
<simple-greeting></simple-greeting>
<script type="module" src="./index.js"></script>
</body>
</html>
+1
View File
@@ -0,0 +1 @@
import './simple-greeting.js';
+25
View File
@@ -0,0 +1,25 @@
import { html, css, LitElement } from "lit";
export class SimpleGreeting extends LitElement {
static styles = css`
p {
color: blue;
}
`;
static properties = {
name: { type: String },
};
constructor(public name: string = "Somebody") {
super();
}
render() {
return html`<p>Hello, ${this.name}!</p>`;
}
}
if (!customElements.get("simple-greeting")) {
customElements.define("simple-greeting", SimpleGreeting);
}