This is an example web component that uses Lit SSR to provide server-side rendering. This demo uses a proxy server that uses the @lit-labs/ssr package to server-side render the source demo page that contains our web component.
Source page: https://lit-ssr-demo.vercel.app
SSR'd proxy: https://lit-ssr-demo.vercel.app/api/ssr
Start the web-dev-server.
npm run start
Visit http://localhost:8000/demo/
This is an experiment with using the @lit-labs/ssr package to provide server side rendering for this component.
While the web-dev-server is running on port 8000, start the proxy server.
npm run start:proxy