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

View File

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