Skip to content

Commit 7d574be

Browse files
authored
docs: update vue-cli/webpack/rspack require usage (unplugin#843)
1 parent d542b30 commit 7d574be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export default {
7373
module.exports = {
7474
/* ... */
7575
plugins: [
76-
require('unplugin-vue-components/webpack').default({ /* options */ }),
76+
require('unplugin-vue-components/webpack')({ /* options */ }),
7777
],
7878
}
7979
```
@@ -88,7 +88,7 @@ module.exports = {
8888
module.exports = {
8989
/* ... */
9090
plugins: [
91-
require('unplugin-vue-components/rspack').default({ /* options */ }),
91+
require('unplugin-vue-components/rspack')({ /* options */ }),
9292
],
9393
}
9494
```
@@ -110,7 +110,7 @@ You might not need this plugin for Nuxt. Use [`@nuxt/components`](https://github
110110
module.exports = {
111111
/* ... */
112112
plugins: [
113-
require('unplugin-vue-components/webpack').default({ /* options */ }),
113+
require('unplugin-vue-components/webpack')({ /* options */ }),
114114
],
115115
}
116116
```

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy