docs: fix 'alias' usage (#4485)

This commit is contained in:
Cinob 2022-04-22 19:43:37 +08:00 committed by GitHub
parent 0c165bb03f
commit 4c5c47447f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'
}
})
```