Skip to content

Files

Latest commit

5bd23b0 · Nov 27, 2023

History

History

lit

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 31, 2023
Nov 27, 2023
Nov 27, 2023
Jul 31, 2023
Jul 31, 2023
Jul 31, 2023
Jul 31, 2023
Oct 23, 2023
Oct 23, 2023
Jul 31, 2023
Jul 31, 2023
Jul 31, 2023
Jul 31, 2023
Nov 27, 2023
Nov 27, 2023
Nov 27, 2023
Jul 31, 2023

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.