Web Components support with Lit Elements #4823
itaymendel
announced in
Announcements
Replies: 1 comment
-
Lit workspace is just what I've been looking for and it almost works fine. There are only two errors on the project template. Would you @itaymendel have the knowledge of solving those issues? How to please typescript? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Web Components allows us create reuse-able custom elements that encapsulate their functionality from the consuming application.
Lit is a framework for building custom elements on top of the Web Components standards.
If you want to build and share Web Components with Bit, you can now use this Lit aspect in your Bit workspace.
The Lit Component Development Environment features:
Additional resources:
Getting started
To create a new workspace from a template run the following command:
cd
to project directory and openworkspace.jsonc
to configure the workspace to your liking.Create your first component:
Ensure all dependencies installed:
Start the local dev server:
From here you can
tag
andexport
Web Components and use them in any web application!Beta Was this translation helpful? Give feedback.
All reactions