2024-01-23 20:21:13 +00:00
|
|
|
<template>
|
|
|
|
<DocSectionText v-bind="$attrs">
|
2024-05-27 09:56:08 +00:00
|
|
|
<p>Include the theme preset via a script element after adding PrimeVue, valid options are Aura, Lara and Nora.</p>
|
2024-01-23 20:21:13 +00:00
|
|
|
</DocSectionText>
|
2024-01-30 08:16:35 +00:00
|
|
|
<DocSectionCode :code="code" hideToggleCode hideStackBlitz />
|
2024-01-23 20:21:13 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
code: {
|
|
|
|
basic: `
|
2024-05-30 10:16:05 +00:00
|
|
|
<!-- <script src="https://unpkg.com/primevue@4.0.0-beta.4/umd/themes/{preset}.min.js"><\/script> -->
|
2024-05-26 20:42:06 +00:00
|
|
|
|
2024-05-30 10:16:05 +00:00
|
|
|
<script src="https://unpkg.com/primevue@4.0.0-beta.4/umd/themes/aura.min.js"><\/script>
|
|
|
|
<script src="https://unpkg.com/primevue@4.0.0-beta.4/umd/themes/lara.min.js"><\/script>
|
|
|
|
<script src="https://unpkg.com/primevue@4.0.0-beta.4/umd/themes/nora.min.js"><\/script>
|
2024-01-23 20:21:13 +00:00
|
|
|
`
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|