UNPKG

lit-ssr-utils

Version:

Lit utils to implement SSR to projects that do not use Javascript.

2 lines (1 loc) 337 B
import{Elysia as c} from"elysia";import{renderLitComponent as f} from"./render";var b=process.env.PORT||3000;async function g(){new c().post("/",f).listen(b,()=>{console.log("Warning: this project execute all dependencies locally (that you provided in \`/\`), be cafeful."),console.log(`listening on port ${b}.`)})}export{g as default};