mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
Merge pull request #3223 from jordanramstad/dev
Update router to allow async functions
This commit is contained in:
commit
69859276b2
@ -44,7 +44,7 @@ const defaultTransition = <%=
|
||||
%>
|
||||
|
||||
async function createApp (ssrContext) {
|
||||
const router = createRouter(ssrContext)
|
||||
const router = await createRouter(ssrContext)
|
||||
|
||||
<% if (store) { %>
|
||||
const store = createStore(ssrContext)
|
||||
|
Loading…
Reference in New Issue
Block a user