Lit Playground Downloaded Code Don't Run Locally
I Downloaded My-Timer Files from Lit Playground () What I Found When I Unzip the Folder: My-Timer. Ts Icons. Ts Index. Html Package. Json Downloaded Package...
I downloaded my-timer files from Lit playground () what I found when I unzip the folder:
- my-timer.ts
- icons.ts
- index.html
- package.json
downloaded package.json contains below dependencies:
{ "dependencies": { "lit": "^2.0.0", "@lit/reactive-element": "^1.0.0", "lit-element": "^3.0.0", "lit-html": "^2.0.0" } }
I removed the above package.json and added another package.json file suggested by () VS Code setup section.
here is my new package.json file ()
also added tsconfig.json file as I am getting errors for typescript. and also added web-dev-server as suggested. after doing all the above step I run the below command npm run serve, but nothing is on I don't know what am I missing?
my latest code is here (). please guide me through the right steps. and what is wrong in my code?