All Users

HiI try to use "kt.menu.dropdown.show" to catch when the user dropdown menu is open.But on vue3 and Metronic 8.0.38 I get this javascript error:Uncaught (in promise) TypeError: _layout_header_Topbar_vue__WEBPACK_IMPORTED_MODULE_1__.default?.reinitialization is not a function...
What is the correct way to add dark/light mode toggle in Vue?