Skip to content

Commit

Permalink
Refactor on nuxt module doc
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Oct 25, 2023
1 parent b4c69c0 commit 015b7ee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
10 changes: 6 additions & 4 deletions doc/nuxt/SetupDoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export default defineNuxtConfig({
modules: [
'nuxt-primevue'
],
primevue: {
/* Options */
primevue: {
/* Options */
}
})
`
Expand All @@ -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,
Expand All @@ -51,7 +53,7 @@ export default defineNuxtConfig({
exclude: undefined
}
}
})
})
`
}
};
Expand Down
7 changes: 2 additions & 5 deletions doc/nuxt/configuration/OptionsDoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,11 @@ export default {
return {
code: {
basic: `
primevue: {
primevue: {
options: {
unstyled: true,
ripple: true,
inputStyle: 'filled',
pt: {
}
inputStyle: 'filled'
}
}
`
Expand Down

0 comments on commit 015b7ee

Please sign in to comment.