primevue-mirror/doc/configuration/UnstyledDoc.vue

29 lines
775 B
Vue

<template>
<DocSectionText v-bind="$attrs">
<p>
Unstyled mode instructs the components not to add any built-in style classes so that they can be styled using custom css or libraries like Tailwind, Bootstrap or PrimeFlex. Visit
<NuxtLink to="/theming/unstyled">Unstyled mode</NuxtLink> documentation for more information.
</p>
<DocSectionCode :code="code" hideToggleCode importCode hideStackBlitz />
</DocSectionText>
</template>
<script>
export default {
data() {
return {
code: {
basic: `
import { createApp } from "vue";
import PrimeVue from "primevue/config";
const app = createApp(App);
app.use(PrimeVue, { unstyled: true });
`
}
};
}
};
</script>