mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
fix(schema): ignore empty string in app.{rootId|rootTag}
(#22543)
This commit is contained in:
parent
70fe659ac9
commit
cdcfb1bd82
@ -174,13 +174,16 @@ export default defineUntypedSchema({
|
|||||||
/**
|
/**
|
||||||
* Customize Nuxt root element id.
|
* Customize Nuxt root element id.
|
||||||
*/
|
*/
|
||||||
rootId: '__nuxt',
|
rootId: {
|
||||||
|
$resolve: val => val || '__nuxt'
|
||||||
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Customize Nuxt root element tag.
|
* Customize Nuxt root element tag.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
rootTag: 'div'
|
rootTag: {
|
||||||
|
$resolve: val => val || 'div'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user