mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 01:20:07 +00:00
5dee570cb2
Port the initialization code for the Vue search to use Vue.createMwApp() instead of new Vue( ... ). The former mimicks Vue 3's API for mounting components. Without this change, this code breaks in Vue 3 (even in compatibility mode) because the compat support for new Vue(...) is imperfect. By the time renderFn is called, the searchForm container has already been emptied by Vue's internal mounting code. Instead, inspect searchForm and generate the prop list before mounting, then pass the props to createMwApp() and mount the component. Bug: T294476 Depends-On: I1fcdcf7bf87f5af2deb9763a231f2c360ea45b23 Change-Id: I5b6e66051d97e75f8f03b8258894daba22525797 |
||
---|---|---|
.. | ||
common | ||
mediawiki.less | ||
skins.vector.es6 | ||
skins.vector.js | ||
skins.vector.legacy.js | ||
skins.vector.search | ||
skins.vector.styles | ||
skins.vector.styles.legacy | ||
CheckboxHack.d.ts | ||
CollapsibleTabsPlugin.d.ts | ||
MediaWikiPageReady.d.ts | ||
mw.d.ts | ||
VectorResourceLoaderVirtualConfig.d.ts | ||
vue.d.ts |