primevue-mirror/doc/cdn/ThemingDoc.vue

23 lines
673 B
Vue
Raw Normal View History

2024-01-23 20:21:13 +00:00
<template>
<DocSectionText v-bind="$attrs">
2024-05-26 20:42:06 +00:00
<p>Include the theme preset via a script element after adding PrimeVue, see <NuxtLink to="/theming/styled/#presets">preset</NuxtLink> section for the complete list of available presets to choose from.</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-26 20:42:06 +00:00
<!-- <script src="https://unpkg.com/primevue/umd/themes/{preset}.min.js"><\/script> -->
<script src="https://unpkg.com/primevue/umd/themes/aura.min.js"><\/script>
2024-01-23 20:21:13 +00:00
`
}
};
}
};
</script>