Skip to content

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

Notifications You must be signed in to change notification settings

thescientist13/greenwood-lit-ssr

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date
Mar 13, 2024
May 13, 2023
May 13, 2023
Aug 12, 2023
Aug 12, 2023
May 13, 2023
Jan 28, 2024
Oct 12, 2023
Nov 20, 2023
Jan 28, 2024
Aug 12, 2023

Repository files navigation

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

  • npm run dev - Start the demo with Greenwood local dev server
  • npm 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.

Status

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

Known Issues

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 48.6%
  • HTML 38.9%
  • CSS 9.4%
  • JavaScript 3.1%