Playground warning while running SSR
Vue version
3.3.6
Link to minimal reproduction
Steps to reproduce
Open the link
What is expected?
Not to warn
What is actually happening?
Is warning
System Info
No response
Any additional comments?
This is a playground problem, there is no problem locally. This is probably because runtime and ssr use the same currentInstance in the playground.
This is a bug of @vue/repl
. When repl performs ssr in the online environment, import { useModel as _useModel } from 'vue'
will use the *runtime.esm-browser.js
file, but in the dev environment it will The *rutime-dom.esm-bundler.js
file is used, so there is no problem with the dev environment
The processing of these two file formats for SSR is different. So ssr bug will appear in the online environment.