primevue-mirror/apps/showcase/doc/cdn/ThemingDoc.vue

25 lines
781 B
Vue
Raw Normal View History

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-06-17 09:32:15 +00:00
<!-- <script src="https://unpkg.com/@primevue/themes@4.0.0-rc.2/umd/{preset}.min.js"><\/script> -->
2024-05-26 20:42:06 +00:00
2024-06-17 09:32:15 +00:00
<script src="https://unpkg.com/@primevue/themes@4.0.0-rc.2/umd/aura.min.js"><\/script>
<script src="https://unpkg.com/@primevue/themes@4.0.0-rc.2/umd/lara.min.js"><\/script>
<script src="https://unpkg.com/@primevue/themes@4.0.0-rc.2/umd/nora.min.js"><\/script>
2024-01-23 20:21:13 +00:00
`
}
};
}
};
</script>