We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad4841a commit 0b93440Copy full SHA for 0b93440
packages/runtime-core/src/apiCreateApp.ts
@@ -225,7 +225,10 @@ export function createAppAPI<HostElement>(
225
return vnode.component!.proxy
226
} else if (__DEV__) {
227
warn(
228
- `App has already been mounted. Create a new app instance instead.`
+ `App has already been mounted.\n` +
229
+ `If you want to remount the same app, move your app creation logic ` +
230
+ `into a factory function and create fresh app instances for each ` +
231
+ `mount - e.g. \`const createMyApp = () => createApp(App)\``
232
)
233
}
234
},
0 commit comments