Skip to content

Commit 8e19c5a

Browse files
committed
suggest using serve --single to serve app
1 parent 4edc9bd commit 8e19c5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/vue-build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,6 @@ function handleBuild (err, stats, watch) {
374374
console.log(`The ${chalk.cyan(options.dist)} folder is ready to be deployed.`)
375375
console.log(`You may also serve it locally with a static server:\n`)
376376
console.log(` ${chalk.yellow('npm')} i -g serve`)
377-
console.log(` ${chalk.yellow('serve')} ${options.dist}\n`)
377+
console.log(` ${chalk.yellow('serve')} ${options.dist} --single\n`)
378378
}
379379
}

0 commit comments

Comments
 (0)