0.0.21 • Published 11 months ago

@diekeure/components v0.0.21

Weekly downloads
-
License
-
Repository
-
Last release
11 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

11 months ago

0.0.20

12 months ago

0.0.19

12 months ago

0.0.18

12 months ago

0.0.17

1 year ago

0.0.16

1 year ago

0.0.15

1 year ago

0.0.14

1 year ago

0.0.13

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago