You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creates an application instance in SSR Hydration mode. Usage is exactly the same as createApp().
And its demo code is like
// this runs in the browser.import{createSSRApp}from'vue'constapp=createSSRApp({// ...same app as on server})// mounting an SSR app on the client assumes// the HTML was pre-rendered and will perform// hydration instead of mounting new DOM nodes.app.mount('#app')
Describe the bug
The documentation on
createSSRApp()
says, (https://vuejs.org/api/application.html#createssrapp )And its demo code is like
Reproduction
vite-ssg/src/client/index.ts
Line 29 in 26e1e07
System Info
Used Package Manager
npm
Validations
Contributions
The text was updated successfully, but these errors were encountered: