mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 07:32:01 +00:00
fix(schema): allow strings in plugin config (#2160)
This commit is contained in:
parent
b7a429ca61
commit
c347b6cc8a
@ -178,7 +178,7 @@ export default {
|
||||
* { src: '~/plugins/server-only.js', mode: 'server' } // only on server side
|
||||
* ]
|
||||
* ```
|
||||
* @type {typeof import('../src/types/nuxt').NuxtPlugin[]}
|
||||
* @type {(typeof import('../src/types/nuxt').NuxtPlugin | string)[]}
|
||||
* @version 2
|
||||
*/
|
||||
plugins: [],
|
||||
|
Loading…
Reference in New Issue
Block a user