feat: add login
This commit is contained in:
15
apps/demo/index.js
Normal file
15
apps/demo/index.js
Normal 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');
|
||||
};
|
||||
Reference in New Issue
Block a user