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