mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 01:12:37 +00:00
Update unstyled doc
This commit is contained in:
parent
5cb016dd2d
commit
9fd2a715b7
12 changed files with 43 additions and 220 deletions
15
doc/theming/unstyled/libraries/UnoCSSDoc.vue
Normal file
15
doc/theming/unstyled/libraries/UnoCSSDoc.vue
Normal file
|
@ -0,0 +1,15 @@
|
|||
<template>
|
||||
<DocSectionText v-bind="$attrs">
|
||||
<p>
|
||||
To get started, UnoCSS should already be available in your application, if not visit the UnoCSS <a href="https://unocss.dev/integrations/">documentation</a> for the installation in various environments. Theming of PrimeVue components with
|
||||
UnoCSS is mainly achieved with unstyled mode either using global setting or for a particular component only.
|
||||
</p>
|
||||
<p>
|
||||
UnoCSS adds the utilities on demand so it needs to be aware of PrimeVue components path otherwise the classes used will not be included in the page, sample below configures UnoCSS with Vite. For other environments like Nuxt, visit the
|
||||
<a href="https://unocss.dev/integrations/">integrations documentation</a>.
|
||||
</p>
|
||||
<p>For a live sample, visit the <a href="https://stackblitz.com/edit/vitejs-vite-cowgnp?file=src%2FApp.vue" target="_blank" rel="noopener noreferrer">example repository</a>.</p>
|
||||
</DocSectionText>
|
||||
</template>
|
||||
|
||||
<script></script>
|
Loading…
Add table
Add a link
Reference in a new issue