From 1dd37a14796cbed3a491ce156931af477cc40db9 Mon Sep 17 00:00:00 2001 From: wietseva Date: Thu, 15 Feb 2018 20:27:40 +0100 Subject: [PATCH] package.json project options Project options are specified in the `"vue"` field and not `"vue-cli"` --- docs/plugin-dev.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/plugin-dev.md b/docs/plugin-dev.md index a637089d29..0bafdf8a70 100644 --- a/docs/plugin-dev.md +++ b/docs/plugin-dev.md @@ -51,7 +51,7 @@ A service plugin should export a function which receives two arguments: - A [PluginAPI][plugin-api] instance -- An object containing project local options specified in `vue.config.js`, or in the `"vue-cli"` field in `package.json`. +- An object containing project local options specified in `vue.config.js`, or in the `"vue"` field in `package.json`. The API allows service plugins to extend/modify the internal webpack config for different environments and inject additional commands to `vue-cli-service`. Example: