Skip to content

Commit 2e81a3a

Browse files
yozmanyyx990803
authored andcommitted
chore: correct filename (#791)
change `prompt.js` to `prompts.js`
1 parent 172e8eb commit 2e81a3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Plugin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ module.exports = api => {
205205

206206
#### Prompts for 3rd Party Plugins
207207

208-
3rd party plugins are typically installed manually after a project is already created, and the user will initialize the plugin by calling `vue invoke`. If the plugin contains a `prompt.js` in its root directory, it will be used during invocation. The file should export an array of [Questions](https://github.com/SBoudrias/Inquirer.js#question) that will be handled by Inquirer.js. The resolved answers object will be passed to the plugin's generator as options.
208+
3rd party plugins are typically installed manually after a project is already created, and the user will initialize the plugin by calling `vue invoke`. If the plugin contains a `prompts.js` in its root directory, it will be used during invocation. The file should export an array of [Questions](https://github.com/SBoudrias/Inquirer.js#question) that will be handled by Inquirer.js. The resolved answers object will be passed to the plugin's generator as options.
209209

210210
Alternatively, the user can skip the prompts and directly initialize the plugin by passing options via the command line, e.g.:
211211

0 commit comments

Comments
 (0)