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.
To run locally
- Clone the repo
- Run
npm ci
You can now run these npm scripts
npm run dev
- Start the demo with Greenwood local dev servernpm start
- Start the demo with a production Greenwood build
👉 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.
Feature | Greenwood | Serverless | Edge |
---|---|---|---|
API Routes | ✅ | ✅ | ❓ |
SSR Pages | ❓ |