Skip to content

Commit b53ae44

Browse files
committed
fixup! docs: update configuration example to import plugin from the main entry
1 parent 434357c commit b53ae44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ A more complete example webpack config will look like this:
5151

5252
``` js
5353
// webpack.config.js
54-
const VueLoaderPlugin = require('vue-loader/lib/plugin')
54+
const { VueLoaderPlugin } = require('vue-loader')
5555

5656
module.exports = {
5757
mode: 'development',

0 commit comments

Comments
 (0)