2023-08-11 01:34:02 +00:00
|
|
|
<template>
|
|
|
|
<DocSectionText v-bind="$attrs">
|
|
|
|
<p>The <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP">nonce</a> value to use on dynamically generated style elements in core.</p>
|
|
|
|
|
2024-01-30 08:16:35 +00:00
|
|
|
<DocSectionCode :code="code1" hideToggleCode importCode hideStackBlitz />
|
2023-08-11 01:34:02 +00:00
|
|
|
</DocSectionText>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
code1: {
|
2023-09-22 12:54:14 +00:00
|
|
|
basic: `
|
|
|
|
app.use(PrimeVue, {
|
2023-08-11 01:34:02 +00:00
|
|
|
csp: {
|
|
|
|
nonce: '...'
|
|
|
|
}
|
2023-09-22 12:54:14 +00:00
|
|
|
});
|
|
|
|
`
|
2023-08-11 01:34:02 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|