Docs for unstyled mode

This commit is contained in:
Cagatay Civici 2023-07-10 00:13:49 +03:00
parent f3d1033c37
commit de119bb8b0
28 changed files with 883 additions and 40 deletions

View file

@ -0,0 +1,26 @@
<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>