Skip to content

Latest commit

 

History

History

lit

Lit with Nx

integrated monorepo

An example repository showcasing using Lit with Nx.

What's inside

The repository contains:

  • A Lit Application (apps/my-lit-app)
  • An E2E Project (apps/my-lit-app-e2e)
  • A Workspace Library to house logic used by the application (libs/my-lib)

How to run it

Serve the application

To serve the application, run the command below and then in a browser navigate to http://localhost:4200/

npx nx serve my-lit-app

Build the application

To build the application, run the command below.

npx nx build my-lit-app

Test the application

To run the unit tests, run the command below.

npx nx test my-lit-app

Run E2E tests

To run the e2e tests, run the command below.

npx nx e2e my-lit-app-e2e

Learn More

Use the resources below learn more about Lit and Nx.