mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-22 11:22:43 +00:00
chore: remove default value for spaLoaderAttrs
This commit is contained in:
parent
4b5b8ce38a
commit
6ca7600a57
@ -274,14 +274,7 @@ export default defineUntypedSchema({
|
||||
* Customize Nuxt Nuxt SpaLoader element attributes.
|
||||
* @type {typeof import('@unhead/schema').HtmlAttributes}
|
||||
*/
|
||||
spaLoaderAttrs: {
|
||||
$resolve: async (val: undefined | null | Record<string, unknown>, get) => {
|
||||
const spaLoaderId = await get('app.spaLoaderId')
|
||||
return defu(val, {
|
||||
id: spaLoaderId === false ? undefined : (spaLoaderId || '__nuxt-spa-loader'),
|
||||
})
|
||||
},
|
||||
},
|
||||
spaLoaderAttrs: {},
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user