mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +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({
|
||||
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