lit-gen
v1.0.1
Published
A package used to scaffold different types of Lit web components.
Downloads
2
Maintainers
Readme
lit-gen
A command-line tool used to generate Lit web components such as lit elements, directives, controllers, etc.
Installation
# npm
npm i lit-gen -D
# yarn
yarn add lit-gen -D
# pnpm
pnpm add lit-gen -D
Alternatively, you can install it globally
# npm
npm i lit-gen -g
# yarn
yarn global add lit-gen
# pnpm
pnpm add lit-gen -g
Usage
Generating an element:
npx lit-gen generate element clark ./src/components
Note:
This project has not been tested.