Skip to content

Commit

Permalink
fix(cli): nvuePages
Browse files Browse the repository at this point in the history
  • Loading branch information
fxy060608 committed Sep 4, 2019
1 parent 46a2590 commit 402c2f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ module.exports = function (pagesJson, userManifestJson) {

const nvuePages = pagesJson.nvue && pagesJson.nvue.pages

if (nvuePages.length) {
if (nvuePages && nvuePages.length) {
const pages = {}
nvuePages.forEach(({
path,
Expand Down

0 comments on commit 402c2f2

Please sign in to comment.