primevue-mirror/doc/vite/StyledModeDoc.vue

25 lines
683 B
Vue
Raw Normal View History

2023-12-26 18:28:43 +00:00
<template>
<DocSectionText v-bind="$attrs">
2024-04-01 09:54:05 +00:00
<p>Styled mode is based on pre-skinned components with opinionated themes, default theme Aura with emerald as the primary color. See the <NuxtLink to="/theming/styled">styled mode</NuxtLink> documentation to for customization.</p>
<DocSectionCode :code="code" hideToggleCode importCode hideStackBlitz />
2023-12-26 18:28:43 +00:00
</DocSectionText>
</template>
<script>
export default {
data() {
return {
2024-04-01 09:54:05 +00:00
code: {
2023-12-26 18:28:43 +00:00
basic: `
2024-04-01 09:54:05 +00:00
import { createApp } from 'vue';
import PrimeVueStyled from 'primevue/styled';
2023-12-26 18:28:43 +00:00
2024-04-01 09:54:05 +00:00
const app = createApp(App);
app.use(PrimeVueStyled);
2023-12-26 18:28:43 +00:00
`
}
};
}
};
</script>