Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add: Lit #1919

Open
wencan opened this issue Oct 31, 2024 · 2 comments
Open

Add: Lit #1919

wencan opened this issue Oct 31, 2024 · 2 comments
Labels
🏷 Library Request Request for a new library to be added to cdnjs

Comments

@wencan
Copy link

wencan commented Oct 31, 2024

Library name

Lit

Library license

https://github.com/lit/lit/?tab=BSD-3-Clause-1-ov-file#readme

Library source

https://github.com/lit/lit/

Files to include

files: https://cdn.jsdelivr.net/gh/lit/dist/
doc: https://lit.dev/docs/getting-started/#use-bundles

@wencan wencan added the 🏷 Library Request Request for a new library to be added to cdnjs label Oct 31, 2024
@justinfagnani
Copy link

I would like to help if possible, but I'm not that familiar with cdnjs.

The Lit project is made up of many packages*, each with many separately importable modules. The bundles referenced on our site are only a small slice of Lit functionality and we mostly recommend that people use npm to install packages or use an npm CDN like unkpkg or jsDelivr.

How could we allow people to use the full suite of Lit packages, and the optional modules within them?

* These packages are the most used:

  • lit-html
  • @lit/reactive-element
  • lit-element
  • lit
  • @lit/context
  • @lit/task
  • @lit/react
  • @lit-labs/signals

@wencan
Copy link
Author

wencan commented Dec 24, 2024

@justinfagnani
The lit-core package can meet the needs of most users.
https://cdn.jsdelivr.net/gh/lit/[email protected]/core/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷 Library Request Request for a new library to be added to cdnjs
Projects
None yet
Development

No branches or pull requests

2 participants