create-lit-element

An npm initializer for creating LitElement based web components with TypeScript.

MIT License

Downloads
58
Stars
6
Committers
3

create-lit-element

This is an npm init <initializer> for creating LitElement based web components with TypeScript.

Usage

Enter one of the following commands:

npm init lit-element <directory-name>

Or

npx create-lit-element <directory-name>

Or

yarn create lit-element <directory-name>

If you do not provide a <directory-name> it will default to your current working directory.

Follow the prompts to setup your workspace.

Template

PolymerLabs/lit-element-starter-ts