Simple Web Components that display repositories from Github, and can be filtered by Web Components-related topics. Built using Lit and TypeScript.
Sample application for Kito Mann's Future-proof your Web Apps with Web Components and LitElement presentation.
This project requires Node for building.
See .nvmrc for the expected version.
(If you're using nvm, you can just run nvm use
to switch to the correct version)/
Once you have the correct version of Node installed, just install the dependencies.
npm install
Since this project uses TypeScript, you need to compile your code first. If you want fast feedback, have TypeScript watch for changes:
npm run watch
If you just want to build once, use:
npm run build
This project uses the Web Dev Server for local development. This provides the added benefit of translating bare Node-style modules to ES Modules for consumption by the browser, as well as other features.
To run the development server, run:
npm run start
No production build is setup for this project, but you can use ordinary build/bundling tools. See: https://open-wc.org/building/.
No tests are currently in this project, but there are several options for testing Web Components. See: https://open-wc.org/testing/#setup.
Check out https://kitomann.com for more information about the author, and links to social networks.