Slot Vue templates derived from component/component tree #5092
strunov
started this conversation in
Ideas / Feature Requests
Replies: 1 comment
-
Hi @strunov, Here is a list of related discussions for reference: #3317 (comment) Regarding the feasibility of a transpiler, I'm not too hopeful. @CrystalWindSnake's PR #3261 seemed more promising, but is stale for quite a while now. Maybe someone can pick up the idea and come up with a working solution? |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Thank you kindly for making the slot feature available in NiceGUI.
As great as it is, I find it challenging to write good quality Vue templates when creating components for Slots on complex components like QTable. Mixing and matching python and jsx also kind of sucks.
However for some slots, it's unavoidable, because using a python representation of a slot component make it static for slots like
item
,body
, etc slots types in QTable. I assume this is because this slot is used for all elements/records provided to table.I was wondering if it's feasible at all for you to transpile a vue template from a component or elements that we already declare in python using NiceGUI?
Beta Was this translation helpful? Give feedback.
All reactions