primevue-mirror/doc/vite/StyledModeDoc.vue

25 lines
659 B
Vue
Raw Normal View History

2023-12-26 18:28:43 +00:00
<template>
<DocSectionText v-bind="$attrs">
2024-04-02 07:34:23 +00:00
<p>Styled mode provides pre-skinned components, default theme is Aura with emerald as the primary color. See the <NuxtLink to="/theming/styled">styled mode</NuxtLink> documentation to for customization.</p>
2024-04-01 09:54:05 +00:00
<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>