mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 15:42:09 +00:00
docs: fix 'alias' usage (#4485)
This commit is contained in:
parent
0c165bb03f
commit
4c5c47447f
@ -137,7 +137,7 @@ import { defineNuxtConfig } from 'nuxt'
|
|||||||
|
|
||||||
export default defineNuxtConfig({
|
export default defineNuxtConfig({
|
||||||
alias: {
|
alias: {
|
||||||
'sample-library': ['sample-library/dist/sample-library.cjs.js']
|
'sample-library': 'sample-library/dist/sample-library.cjs.js'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user