Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/bre97-web/lit-component-template

A lit web component template.
https://github.com/bre97-web/lit-component-template

html-css-js lit template web-component

Last synced: 2 days ago
JSON representation

A lit web component template.

Awesome Lists containing this project

README

        

# lit-component-template

## Dev with me
### Build
Modify the ts file of the button folder of the sample code, Start building the project

```
npm run build
```

**If the compilation of your css files is skipped**, please allow the following directives

```
npm run css
```

```
npm run ts
```
### Run in browser
Run the sample code of ./demo/index.html for this project

```
npm run dev
```

run this code if you want generete docs
```
npm run build:demo
```

### Publish with Github Action Workflows
Publish your repo in Github Action Workflows, you should update file 'publish.config.js' in ./config/publish.config.js and 'release.package.yml' in .github/workflows/release.package.yml

```
./config/publish.config.js
```

```
.github/workflows/release.package.yml
```