You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TLDR: Add new package shipping our components as Web Components
Goal
To make our UI components work in any project - whether it's React, Angular, or plain HTML-by distributing them as standard Web Components
Why do this?
Works Everywhere: Our components won't be locked into a single framework.
No Style Conflicts: Styles are isolated, so they won't break the rest of the website.
Easy Integration: Other teams can use our components just like regular HTML tags.
How it works
We will use Vue 3, which has built-in support for this. By using the defineCustomElement feature, we can easily turn our Vue components into standard Web Components that any browser can understand. We might ship them under different package name (TBD)
Key Benefits
Shared Library: One set of components for all teams, regardless of their tech stack.
Fast & Light: Components run natively in the browser.
Note
TLDR: Add new package shipping our components as Web Components
Goal
To make our UI components work in any project - whether it's React, Angular, or plain HTML-by distributing them as standard Web Components
Why do this?
How it works
We will use Vue 3, which has built-in support for this. By using the
defineCustomElementfeature, we can easily turn our Vue components into standard Web Components that any browser can understand. We might ship them under different package name (TBD)Key Benefits