Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/niiyeboah/create-lit-element
- Owner: niiyeboah
- License: mit
- Created: 2019-11-07T12:13:48.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-01-15T05:41:25.000Z (almost 3 years ago)
- Last Synced: 2024-04-29T18:23:30.944Z (8 months ago)
- Topics: cli, create, initializer, lit-element, lit-html, npm-init, typescript, web-components
- Language: JavaScript
- Homepage:
- Size: 284 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)