[Vuejs]-Is this the right formkit configuration?

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");

Leave a comment