Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/niiyeboah/create-lit-element

An npm initializer for creating LitElement based web components with TypeScript.
https://github.com/niiyeboah/create-lit-element

cli create initializer lit-element lit-html npm-init typescript web-components

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# create-lit-element

[![npm version](https://badgen.net/npm/v/create-lit-element?icon=npm)](https://www.npmjs.com/package/create-lit-element)

This is an [`npm init `](https://docs.npmjs.com/cli/init#description) for creating [`LitElement`](https://lit-element.polymer-project.org/) based [web components](https://www.webcomponents.org/introduction) with [TypeScript](https://www.typescriptlang.org/).

## Usage

Enter one of the following commands:

```sh
npm init lit-element
```

Or

```sh
npx create-lit-element
```

Or

```sh
yarn create lit-element
```

If you do not provide a `` it will default to your current working directory.

Follow the prompts to setup your workspace.

## Template

[PolymerLabs/lit-element-starter-ts](https://github.com/PolymerLabs/lit-element-starter-ts)