mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
chore(lint): add indent result of createApp (#8982)
This commit is contained in:
parent
ddc256622a
commit
0921ceeb2e
@ -103,7 +103,7 @@ export default async (ssrContext) => {
|
|||||||
__webpack_public_path__ = joinURL(ssrContext.nuxt.config.app.cdnURL, ssrContext.nuxt.config.app.assetsPath)
|
__webpack_public_path__ = joinURL(ssrContext.nuxt.config.app.cdnURL, ssrContext.nuxt.config.app.assetsPath)
|
||||||
}
|
}
|
||||||
// Create the app definition and the instance (created for each request)
|
// Create the app definition and the instance (created for each request)
|
||||||
const { app, router<%= (store ? ', store' : '') %> } = await createApp(ssrContext, ssrContext.runtimeConfig.private)
|
const { app, router<%= (store ? ', store' : '') %> } = await createApp(ssrContext, ssrContext.runtimeConfig.private)
|
||||||
const _app = new Vue(app)
|
const _app = new Vue(app)
|
||||||
// Add ssr route path to nuxt context so we can account for page navigation between ssr and csr
|
// Add ssr route path to nuxt context so we can account for page navigation between ssr and csr
|
||||||
ssrContext.nuxt.routePath = app.context.route.path
|
ssrContext.nuxt.routePath = app.context.route.path
|
||||||
|
Loading…
Reference in New Issue
Block a user