Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month ago
JSON representation
A lit web component template.
- Host: GitHub
- URL: https://github.com/bre97-web/lit-component-template
- Owner: bre97-web
- Created: 2023-08-10T00:14:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-12T10:12:18.000Z (over 1 year ago)
- Last Synced: 2024-10-16T19:18:18.303Z (3 months ago)
- Topics: html-css-js, lit, template, web-component
- Language: JavaScript
- Homepage: https://bre97-web.github.io/lit-component-template/
- Size: 48.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```