0.3.3 • Published 1 year ago
lit-webcomponent-demo v0.3.3
Lit Web Component Demo! 🔥
Hello all!
this is a test component that i use to play around on how to create a web component then publish it into package.
please dont install it, haha unless you are the guy that should be checking it.
Installation & run in local machine
- First of all, please run
npm i
to install all dependencies needed for run this app in your local machine. !important: Please make sure you are targeting to this project's folder in terminal. - Once done, you can run dev/localhost to check it out by running
npm run dev
. - Voila, click on the url given/appear on your terminal. you can now play around with with.
- Last one would be
npm run test
, to run unit testing, but i still checking out about this unit test framework.
this web component has been publish at https://www.npmjs.com/package/lit-webcomponent-demo?activeTab=code written with LitJS, ViteJS(dev-server), Open Web Component(unit testing with test-runner-playwright) & publish on NPMJS