feat: add login

This commit is contained in:
2024-10-20 02:25:09 +08:00
parent 9ce91c593c
commit e4fe97f5e5
13 changed files with 764 additions and 9 deletions

15
apps/demo/index.js Normal file
View File

@@ -0,0 +1,15 @@
import * as lit from 'https://cdn.jsdelivr.net/npm/lit-html@3.2.1/+esm';
export const render = (ctx) => {
//
const demo = lit.html`
<div>
<h1>Demo</h1>
</div>
`;
lit.render(demo, ctx.renderRoot || ctx.root);
};
export const unmount = (ctx) => {
console.log('unMount');
};