feat: implement csp, sty-src with nonce

This commit is contained in:
HugoRCD
2025-05-19 10:37:46 +02:00
parent c00f6e8cdf
commit f1128c2450
2 changed files with 9 additions and 1 deletions

View File

@@ -28,6 +28,13 @@ export interface ModuleOptions {
*/
colorMode?: boolean
/**
* Configure Content Security Policy for Nuxt UI
* @defaultValue `false`
* @link https://ui.nuxt.com/getting-started/installation/nuxt#csp
*/
csp?: boolean
/**
* Customize how the theme is generated
* @link https://ui.nuxt.com/getting-started/theme