We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90de581 commit 8c67c6dCopy full SHA for 8c67c6d
en/data.md
@@ -122,7 +122,7 @@ export default context => {
122
router.onReady(() => {
123
const matchedComponents = router.getMatchedComponents()
124
if (!matchedComponents.length) {
125
- reject({ code: 404 })
+ return reject({ code: 404 })
126
}
127
128
// call `asyncData()` on all matched route components
0 commit comments