diff --git a/README.md b/README.md index cdf4dfe4..a2cce544 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ export default { module.exports = { /* ... */ plugins: [ - require('unplugin-vue-components/webpack').default({ /* options */ }), + require('unplugin-vue-components/webpack')({ /* options */ }), ], } ``` @@ -88,7 +88,7 @@ module.exports = { module.exports = { /* ... */ plugins: [ - require('unplugin-vue-components/rspack').default({ /* options */ }), + require('unplugin-vue-components/rspack')({ /* options */ }), ], } ``` @@ -110,7 +110,7 @@ You might not need this plugin for Nuxt. Use [`@nuxt/components`](https://github module.exports = { /* ... */ plugins: [ - require('unplugin-vue-components/webpack').default({ /* options */ }), + require('unplugin-vue-components/webpack')({ /* options */ }), ], } ```