1👍
✅
The code :
createApp(App).use(plugin, defaultConfig).mount("#app");
createApp(App).use(router).mount("#app");
is creating two app instances mounting them to the same node. to register plugins you should create the app instance createApp(App)
then chaine the use
method :
createApp(App).use(plugin, defaultConfig).use(router).mount("#app");
Source:stackexchange.com