mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-27 18:30:35 +01:00
up
This commit is contained in:
@@ -64,7 +64,8 @@ export default defineNuxtPlugin(() => {
|
|||||||
document.head.appendChild(style)
|
document.head.appendChild(style)
|
||||||
|
|
||||||
headData.script = [{
|
headData.script = [{
|
||||||
innerHTML: 'document.head.removeChild(document.querySelector(\'[data-nuxt-ui-colors]\'))'
|
innerHTML: 'document.head.removeChild(document.querySelector(\'[data-nuxt-ui-colors]\'))',
|
||||||
|
...(nonce.value ? { nonce: nonce.value } : {})
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user