mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-30 11:47:55 +01:00
test
This commit is contained in:
@@ -47,7 +47,7 @@ export default defineNuxtPlugin(() => {
|
|||||||
innerHTML: () => root.value,
|
innerHTML: () => root.value,
|
||||||
tagPriority: -2,
|
tagPriority: -2,
|
||||||
id: 'nuxt-ui-colors',
|
id: 'nuxt-ui-colors',
|
||||||
...(nonce.value ? { nonce: nonce.value } : {})
|
nonce: 'DKR5TndW9fEw7YgZtM9Fvw==' // ...(nonce.value ? { nonce: nonce.value } : {})
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -59,7 +59,7 @@ export default defineNuxtPlugin(() => {
|
|||||||
style.setAttribute('data-nuxt-ui-colors', '')
|
style.setAttribute('data-nuxt-ui-colors', '')
|
||||||
|
|
||||||
if (nonce.value) {
|
if (nonce.value) {
|
||||||
style.setAttribute('nonce', nonce.value)
|
style.setAttribute('nonce', 'DKR5TndW9fEw7YgZtM9Fvw==') // nonce.value)
|
||||||
}
|
}
|
||||||
document.head.appendChild(style)
|
document.head.appendChild(style)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user