Skip to content

Commit 25e224e

Browse files
committed
Add note on vue-cli beta
Related to: GH-1718.
1 parent 8a3eb15 commit 25e224e

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

docs/docs/getting-started.server.mdx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,15 +379,23 @@ you’re using that, for more info.
379379
```
380380
</details>
381381

382-
[Vue CLI](https://cli.vuejs.org) supports webpack loaders directly in
383-
`configureWebpack.plugins` in your `vue.config.js`.
382+
[Vue CLI](https://cli.vuejs.org), in the beta for version 5, supports webpack
383+
loaders directly in `configureWebpack.plugins` in `vue.config.js`.
384384

385385
Install and configure the webpack loader [`@mdx-js/loader`][mdx-loader].
386386
You have to configure [Vue and Babel][vue] too.
387387

388388
See also [¶ webpack][webpack], which is used in Vue CLI, and see [¶ Vue][vue],
389389
which you’re likely using, for more info.
390390

391+
<Note type="info">
392+
**Note**: to support ESM in `vue.config.js` or `vue.config.mjs`, you currently
393+
have to use their v5.0.0-beta.
394+
See [`v5.0.0-beta.0`](https://github.com/vuejs/vue-cli/releases/tag/v5.0.0-beta.0)
395+
in their changelog for more info.
396+
Their latest beta release is currently `v5.0.0-beta.6`.
397+
</Note>
398+
391399
#### WMR
392400

393401
<details>

0 commit comments

Comments
 (0)