Catrope added a comment.
> since we compile templates in our build step, we can’t produce a bundle that’s compatible with Vue 2 and 3 at runtime I thought this would be a problem with WVUI, but from my testing, the Vue 2-compiled WVUI bundle works just fine under the Vue 3 migration build. The compatibility that the migration build provides for the render function API is good enough that compiled templates work. I wouldn't trust this blindly without testing, but it has worked for us for the (relatively simple) Vue 2 code in WVUI. If you're using the composition API plugin for Vue 2 and bundling it with your code, then you will run into strange bugs. I had that problem with WVUI, and I plan to fix it by externalizing the composition API plugin instead of bundling it, see T284707 <https://phabricator.wikimedia.org/T284707> and T295106#7497606 <https://phabricator.wikimedia.org/T295106#7497606>. TASK DETAIL https://phabricator.wikimedia.org/T294465 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE, Catrope Cc: karapayneWMDE, Michael, Lucas_Werkmeister_WMDE, Aklapper, Catrope, 786, Suran38, Biggs657, Invadibot, Lalamarie69, maantietaja, Juan90264, Alter-paule, Beast1978, Un1tY, Akuckartz, Sarai-WMDE, Hook696, darthmon_wmde, Kent7301, joker88john, CucyNoiD, Nandana, Gaboe420, lucamauri, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, Mahir256, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Bodhisattwa, Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, Addshore, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
