You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
324 B
10 lines
324 B
import { createSSRApp } from 'vue'
|
|
import App from './App.vue'
|
|
|
|
// SSR requires a fresh app instance per request, therefore we export a function
|
|
// that creates a fresh app instance. If using Vuex, we'd also be creating a
|
|
// fresh store here.
|
|
export function createApp() {
|
|
const app = createSSRApp(App)
|
|
return { app }
|
|
}
|
|
|