mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
minor fix
This commit is contained in:
parent
5903319241
commit
2c4cf1ed4b
@ -48,7 +48,7 @@ export default function webpackClientConfig () {
|
||||
}
|
||||
|
||||
// Total pages
|
||||
const totalPages = _this.routes.length
|
||||
const totalPages = _this.routes ? _this.routes.length : 0
|
||||
|
||||
// A module is extracted into the vendor chunk when...
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user