primevue-mirror/doc/configuration/UnstyledDoc.vue

27 lines
781 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="/unstyled">Unstyled mode</NuxtLink> documentation for more information.
</p>
<DocSectionCode :code="code" hideToggleCode importCode hideCodeSandbox 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>