Merge pull request #3223 from jordanramstad/dev

Update router to allow async functions
This commit is contained in:
Clark Du 2018-04-17 02:25:51 -05:00 committed by GitHub
commit 69859276b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ const defaultTransition = <%=
%> %>
async function createApp (ssrContext) { async function createApp (ssrContext) {
const router = createRouter(ssrContext) const router = await createRouter(ssrContext)
<% if (store) { %> <% if (store) { %>
const store = createStore(ssrContext) const store = createStore(ssrContext)