mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix: router Expected "0" to be defined (#4394)
This commit is contained in:
parent
744f4025f5
commit
39b1b8e5e0
@ -434,7 +434,7 @@ function tokensToFunction(tokens) {
|
||||
continue
|
||||
}
|
||||
|
||||
const value = data[token.name]
|
||||
const value = data[token.name || 'pathMatch']
|
||||
let segment
|
||||
|
||||
if (value == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user