As part of our filing for Chapter 11 bankruptcy relief, Akamai has acquired select assets from Edgio, including certain customer contracts from our content delivery, applications, and security businesses, but not including Uplynk. We encourage any active Edgio delivery, applications, or security customers that are not already engaged with Akamai to migrate their services, to contact their local Akamai office or support@edg.io as soon as possible to help avoid service interruptions. Service will end on January 15, 2025.


Any Edgio Uplynk customers can reach out to support@uplynk.com for any questions or concerns.

Edgio

Lit

Lit is a simple library for building fast, lightweight web components. This guide walks you through deploying Lit sites to Edgio.

Example

Create your Lit site

Prerequisites

Setup requires:

Install the Edgio CLI

If you have not already done so, install the Edgio CLI.
Bash
1npm i -g @layer0/cli@latest
Clone this starter example and install dependencies:
Bash
1git clone https://github.com/layer0-docs/layer0-lit-example
2yarn install

Run the Lit app locally on Edgio

Test your app with the Sites in development mode on your local machine by running the following command in your project’s root directory:
Bash
10 dev
Load the site http://127.0.0.1:3000
This will listen to any changes inside the folder src, with live reloads!

Run the Lit app in local production on the Sites

Create a production build using:
Bash
10 build
Test your app with the Sites in production mode on your local machine by running the following command in your project’s root directory:
Bash
10 run --production
Load the site http://127.0.0.1:3000

Deploy to the Sites

Deploy your app to the Sites by running the following command in your project’s root directory:
Bash
10 deploy
Edgio Applications v4 and support for Node.js 16 are undergoing end-of-life (EOL).
Read the Layer0 EOL announcement, the Node.js 16 EOL plan or browse Edgio Applications v7 docs.