thescientist13 / greenwood-lit-ssr

A demonstration repo for deploying a full-stack Greenwood app with Lit SSR, Vercel static hosting and Serverless + Edge functions.
https://greenwood-lit-ssr.vercel.app/
0 stars 0 forks source link
greenwood lit serverless ssr vercel webcomponents

greenwood-lit-ssr

A demonstration repo for deploying a full-stack Greenwood app using Lit SSR with Vercel static hosting and Serverless + Edge functions.

You can see the live demo at https://greenwood-lit-ssr.vercel.app/.

It is based on this Greenwood demo.

Setup

To run locally

  1. Clone the repo
  2. Run npm ci

You can now run these npm scripts

👉 Note: If deploying to your own Vercel instance, make sure you set the NodeJS version to 18.x in your Vercel project's General settings.

Status

Feature Greenwood Serverless Edge
API Routes
SSR Pages ⚠️ ⚠️

Known Issues

  1. [ ] Lit SSR does not support async component work
  2. [x] Declarative Shadow DOM support