mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 15:42:09 +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
|
* { 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
|
* @version 2
|
||||||
*/
|
*/
|
||||||
plugins: [],
|
plugins: [],
|
||||||
|
Loading…
Reference in New Issue
Block a user