Implement with defineCustomElement from Vue #469
craigrileyuk
started this conversation in
General
Replies: 1 comment
-
Had an idea literally seconds after posting this. Swapped out passing |
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
-
So there's the example for defining a new Web Component in the docs:
but how would this combine with:
TwElement is returned a fully-fledged class definition with its own constructor.
I know I could just write my components in Vanilla Javascript, but I prefer the Vue way and being able to create a Web Components library in Vue with multi-component Tailwind support would be amazing.
Beta Was this translation helpful? Give feedback.
All reactions