UNPKG

469 BJavaScriptView Raw
1// these prompts are used if the plugin is late-installed into an existing
2// project and invoked by `vue invoke`.
3
4const { chalk } = require('@vue/cli-shared-utils')
5
6module.exports = [
7 {
8 name: 'historyMode',
9 type: 'confirm',
10 message: `Use history mode for router? ${chalk.yellow(`(Requires proper server setup for index fallback in production)`)}`,
11 description: `By using the HTML5 History API, the URLs don't need the '#' character anymore.`
12 }
13]