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
The requested feature would break current behaviour
I would be interested in opening a PR for this feature
What problem would this feature solve? Please describe.
Solara currently uses vuetifyjs for frontend components, but that is tied to vue 2. That is getting a bit outdated, and vue 3 offers more features/flexibility and more concise syntax.
I understand that migrating entirely to vue 3 is a bit of work, since i guess you need to migrate ipyvuetify, maybe reacton and all sorts of libraries also, before migrating solara.
Describe the solution you'd like
But I am wondering.. if anyone is interested in writing their own vuetify templates via the @solara.component_vue() decorator..
Would it be possible to either:
make a new decorator, example @solara.component_vue3() that would be vue 3 compatible
update the existing decorator, to have a kwarg that says this is vue 3 file. e.g. @solara.component_vue('./mytemplate.vue', vue3=True)
I wonder if such a thing is possible.. or are we stuck we vue 2 until solara 2.0 or so.. which I assume is still quite far in the future?
Maybe what I am asking is not possible/practical, but voicing it just in case
Documentation, Migration Strategy
Easy to document. If one day solara goes full on vue 3, (which would be a breaking change), then simply remove the "new" decorator or keep it with a deprecation warning.
The text was updated successfully, but these errors were encountered:
OOOPS, while writing this, we discovered #920 , but given that #921 is green, you should be able to do
pip install "ipyvue>=3" "ipyvuetify>=3" --pre # use vue3 and vuetify3
Not all components are tested, and we are happy to fix, or receive PR's to fix those. Our plan it to be as much as forward and backward compatible as we can.
Feature Request
What problem would this feature solve? Please describe.
Solara currently uses vuetifyjs for frontend components, but that is tied to vue 2. That is getting a bit outdated, and vue 3 offers more features/flexibility and more concise syntax.
I understand that migrating entirely to vue 3 is a bit of work, since i guess you need to migrate ipyvuetify, maybe reacton and all sorts of libraries also, before migrating solara.
Describe the solution you'd like
But I am wondering.. if anyone is interested in writing their own vuetify templates via the
@solara.component_vue()
decorator..Would it be possible to either:
@solara.component_vue3()
that would be vue 3 compatibleI wonder if such a thing is possible.. or are we stuck we vue 2 until solara 2.0 or so.. which I assume is still quite far in the future?
Maybe what I am asking is not possible/practical, but voicing it just in case
Documentation, Migration Strategy
Easy to document. If one day solara goes full on vue 3, (which would be a breaking change), then simply remove the "new" decorator or keep it with a deprecation warning.
The text was updated successfully, but these errors were encountered: