The ui package should not affect the Alpine.js core #3335
xinjie-zhang
started this conversation in
3. Feature Ideas
Replies: 1 comment
-
Those lines of code are going to disappear in one of the next releases |
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
-
Current ui package is not well designed. It introduces some ugly hard codes in
directives.js
Vimesh UI works without any modification on Alpine.js source code. It just add three directives ( x-component, x-import and x-include ) and two magics ($api, $prop). Here is the headless Listbox implementation with Vimesh UI :
It implements all features of current listbox in ui package. And the Vimesh UI list component could be used like:
Run on codepen
I could contribute Vimesh UI to Alpine.js if necessary.
Beta Was this translation helpful? Give feedback.
All reactions