Refactor on nuxt module doc

pull/4694/head
mertsincan 2023-10-25 12:50:23 +01:00
parent b4c69c0dc3
commit 015b7eee5c
2 changed files with 8 additions and 9 deletions

View File

@ -17,8 +17,8 @@ export default defineNuxtConfig({
modules: [ modules: [
'nuxt-primevue' 'nuxt-primevue'
], ],
primevue: { primevue: {
/* Options */ /* Options */
} }
}) })
` `
@ -29,9 +29,11 @@ export default defineNuxtConfig({
modules: [ modules: [
'nuxt-primevue' 'nuxt-primevue'
], ],
primevue: { primevue: {
usePrimeVue: true, usePrimeVue: true,
options: {}, options: {},
importPT: undefined,
cssLayerOrder: 'tailwind-base, primevue, tailwind-utilities',
components: { components: {
prefix: '', prefix: '',
name: undefined, name: undefined,
@ -51,7 +53,7 @@ export default defineNuxtConfig({
exclude: undefined exclude: undefined
} }
} }
}) })
` `
} }
}; };

View File

@ -11,14 +11,11 @@ export default {
return { return {
code: { code: {
basic: ` basic: `
primevue: { primevue: {
options: { options: {
unstyled: true, unstyled: true,
ripple: true, ripple: true,
inputStyle: 'filled', inputStyle: 'filled'
pt: {
}
} }
} }
` `