0.0.21 • Published 8 months ago

@diekeure/components v0.0.21

Weekly downloads
-
License
-
Repository
-
Last release
8 months ago

Lit with Nx

integrated monorepo

An example repository showcasing using Lit with Nx.

What's inside

The repository contains:

  • A Lit Application (apps/webcomponents-previewer)
  • An E2E Project (apps/webcomponents-previewer-e2e)
  • A Workspace Library to house logic used by the application (libs/questions)

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/ In parallel runs a build script that parses .scss files to a .ts which contains a css literal tag. This styles file should be imported in the static override styles of your component.

npm run dev:webcomponents
import styles from './my-component.styles.ts';

export class MyComponent {
  static override styles = [styles];
}

Build the application

To build the application, run the command below.

npx nx build webcomponents-previewer

Test the application

To run the unit tests, run the command below.

npx nx test webcomponents-previewer

Run E2E tests

To run the e2e tests, run the command below.

npx nx e2e webcomponents-previewer-e2e

Learn More

Use the resources below learn more about Lit and Nx.

0.0.21

8 months ago

0.0.20

9 months ago

0.0.19

9 months ago

0.0.18

9 months ago

0.0.17

10 months ago

0.0.16

10 months ago

0.0.15

10 months ago

0.0.14

10 months ago

0.0.13

11 months ago

0.0.12

11 months ago

0.0.11

11 months ago

0.0.10

11 months ago

0.0.9

11 months ago

0.0.8

11 months ago

0.0.7

11 months ago

0.0.6

12 months ago

0.0.5

12 months ago

0.0.4

12 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

12 months ago