Skip to content

Commit

Permalink
Fix spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
James M. Greene authored and James M. Greene committed Jul 22, 2022
1 parent 98aa330 commit 8628813
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions src/fixtures/nuxt/async.expected.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
const getAllDynamicRoute = async function() {
const routes = await (async () => {
return ['/posts/hello-world', '/posts/hello-again'];
})();
return routes;
};

export default {
target: 'static',
router: {base: '/docs/'},
mode: 'universal',
generate: {
async routes () {
return getAllDynamicRoute();
}
const routes = await (async () => {
return ['/posts/hello-world', '/posts/hello-again'];
})();
return routes;
};

export default {
target: 'static',
router: {base: '/docs/'},
mode: 'universal',
generate: {
async routes () {
return getAllDynamicRoute();
}
};
}
};

0 comments on commit 8628813

Please sign in to comment.