create-lit-project
v0.3.3
Published
## Usage
Downloads
2
Maintainers
Readme
create-lit-project
Usage
npx create-lit-project [options]
Options
Symbol | Alias
- -o, --output
Expects: output directory relative to cwd of calling directory
Default: .
- -l, --language
Allowed: ts, js, typescript, javascript
Default: js
- -s, --styles
Allowed: shadow, css, sass, tailwind
Default: shadow
- -http, --server
Boolean, if you put it, it will set up an actual server rather than webpack dev server Default: false
Interactive Mode
Just add -i
or --interactive
to the script and it will prompt you for the options instead of entering them
Example
npx create-lit-project -o src
Makes a new project boiler plate at src. If you do not define one, it will be defaulted to '.' which will resolve to the current working directory running the command. Since only the output flag is specified, the other flags will be defaulted as defined above.