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
47f02ae5ca
commit
54d273720c
@ -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