2023-07-09 21:13:49 +00:00
|
|
|
<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>
|
|
|
|
|
2024-01-30 08:16:35 +00:00
|
|
|
<DocSectionCode :code="code" hideToggleCode importCode hideStackBlitz />
|
2023-07-09 21:13:49 +00:00
|
|
|
</DocSectionText>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
code: {
|
2023-09-22 12:54:14 +00:00
|
|
|
basic: `
|
|
|
|
import { createApp } from "vue";
|
2023-07-09 21:13:49 +00:00
|
|
|
import PrimeVue from "primevue/config";
|
|
|
|
const app = createApp(App);
|
|
|
|
|
2023-09-22 12:54:14 +00:00
|
|
|
app.use(PrimeVue, { unstyled: true });
|
|
|
|
`
|
2023-07-09 21:13:49 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|