mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
fix(vue-app): use app.context.route
to match components in server
This commit is contained in:
parent
6f1c658c90
commit
e8ea37673f
@ -156,7 +156,7 @@ export default async (ssrContext) => {
|
||||
<% if (debug) { %>const s = Date.now()<% } %>
|
||||
|
||||
// Components are already resolved by setContext -> getRouteData (app/utils.js)
|
||||
const Components = getMatchedComponents(router.match(ssrContext.url))
|
||||
const Components = getMatchedComponents(app.context.route)
|
||||
|
||||
<% if (store) { %>
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user