mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Update nuxt doc
This commit is contained in:
parent
185ebc1dd1
commit
309c665bb1
18 changed files with 202 additions and 48 deletions
|
@ -11,13 +11,27 @@ export default {
|
|||
return {
|
||||
code: {
|
||||
basic: `
|
||||
primevue: {
|
||||
options: {
|
||||
unstyled: true,
|
||||
ripple: true,
|
||||
inputVariant: 'filled'
|
||||
import Aura from '@primevue/themes/aura';
|
||||
|
||||
export default defineNuxtConfig({
|
||||
modules: [
|
||||
'@primevue/nuxt-module'
|
||||
],
|
||||
primevue: {
|
||||
options: {
|
||||
ripple: true,
|
||||
inputVariant: 'filled',
|
||||
theme: {
|
||||
preset: Aura,
|
||||
options: {
|
||||
prefix: 'p',
|
||||
darkModeSelector: 'system',
|
||||
cssLayer: false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
`
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue