Skip to content

bre97-web/lit-component-template

Repository files navigation

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