f480cd52cb28b0dab95420232c8cc77574e1c5a05da65ca102663d3e15623ffb4c7319a80eb23b20f06f31b635c8bdff17d217d1323e786ecec9b541269076 469 B

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