From b53ae44e4b9958db290f5918248071e9d2445d38 Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Thu, 4 Mar 2021 15:02:25 +0800 Subject: [PATCH] fixup! docs: update configuration example to import plugin from the main entry --- docs/guide/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/README.md b/docs/guide/README.md index 035f870e6..d4b89fd61 100644 --- a/docs/guide/README.md +++ b/docs/guide/README.md @@ -51,7 +51,7 @@ A more complete example webpack config will look like this: ``` js // webpack.config.js -const VueLoaderPlugin = require('vue-loader/lib/plugin') +const { VueLoaderPlugin } = require('vue-loader') module.exports = { mode: 'development',