Lucas_Werkmeister_WMDE added a comment.
Hm, the `render` workaround seems to work well in Vue 2 (and it’s nicer than
`extendOptions`, so thanks!), but I haven’t managed to get it working in Vue 3
yet. Rendering `App` produces an error about `$store` being undefined;
rendering `$.extend( { store }, App )` avoids that error, but then apparently
nothing happens, the component doesn’t seem to get rendered at all (a
`console.log` in a required computed prop is never called). I’ve pushed that
change here
<https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/739328> if
you want to take a look (though you’d need a local Wikibase install to test it
at runtime).
TASK DETAIL
https://phabricator.wikimedia.org/T294465
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Lucas_Werkmeister_WMDE
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]