mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 01:15:58 +00:00
docs(esm): fix typo (#2866)
This commit is contained in:
parent
a53246a1a4
commit
3125c72e09
@ -183,7 +183,7 @@ Also when using dynamic import syntax (in both CJS and ESM files), we always hav
|
|||||||
import('cjs-pkg').then(console.log) // [Module: null prototype] { default: { test: '123' } }
|
import('cjs-pkg').then(console.log) // [Module: null prototype] { default: { test: '123' } }
|
||||||
```
|
```
|
||||||
|
|
||||||
In this case, we need to manually inerop default export:
|
In this case, we need to manually interop the default export:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
// Static import
|
// Static import
|
||||||
|
Loading…
Reference in New Issue
Block a user