Skip to content

Commit 31710fe

Browse files
run-zeyyx990803
authored andcommitted
fix: temporarily avoid chalk color in options (vuejs#2042)
1 parent e3ba60f commit 31710fe

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/@vue/cli/lib/promptModules/router.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
const chalk = require('chalk')
2-
31
module.exports = cli => {
42
cli.injectFeature({
53
name: 'Router',
@@ -12,7 +10,7 @@ module.exports = cli => {
1210
name: 'routerHistoryMode',
1311
when: answers => answers.features.includes('router'),
1412
type: 'confirm',
15-
message: `Use history mode for router? ${chalk.yellow(`(Requires proper server setup for index fallback in production)`)}`
13+
message: `Use history mode for router? (Requires proper server setup for index fallback in production)`
1614
})
1715

1816
cli.onPromptComplete((answers, options) => {

0 commit comments

Comments
 (0)