diff --git a/doc/nuxt/DownloadDoc.vue b/doc/nuxt/DownloadDoc.vue index 50bf5d042..23706c233 100644 --- a/doc/nuxt/DownloadDoc.vue +++ b/doc/nuxt/DownloadDoc.vue @@ -1,6 +1,6 @@ diff --git a/doc/nuxt/ExampleDoc.vue b/doc/nuxt/ExampleDoc.vue index 9748ae346..6a38a978f 100644 --- a/doc/nuxt/ExampleDoc.vue +++ b/doc/nuxt/ExampleDoc.vue @@ -1,8 +1,8 @@ diff --git a/doc/nuxt/configuration/ComponentsDoc.vue b/doc/nuxt/configuration/ComponentsDoc.vue index db20f588c..ebbb1e944 100644 --- a/doc/nuxt/configuration/ComponentsDoc.vue +++ b/doc/nuxt/configuration/ComponentsDoc.vue @@ -20,7 +20,7 @@ export default { return { code1: { basic: ` -primevue: { +primevue: { components: { include: ['Button', 'DataTable'] } @@ -29,7 +29,7 @@ primevue: { }, code2: { basic: ` -primevue: { +primevue: { components: { include: '*', exclude: ['Galleria', 'Carousel'] @@ -39,19 +39,19 @@ primevue: { }, code3: { basic: ` -primevue: { +primevue: { components: { prefix: 'Prime' - include: ['Button', 'DataTable'] /* Used as and */ + include: ['Button', 'DataTable'] /* Used as and */ } } ` }, code4: { basic: ` -primevue: { +primevue: { components: { - name: ({ name: string, as: string, from: string }) => { + name: ({ name, as, from }) => { return name === 'Button' ? \`My\${name}\` : name; } include: ['Button', 'DataTable'] /* Used as and */ diff --git a/doc/nuxt/configuration/DirectivesDoc.vue b/doc/nuxt/configuration/DirectivesDoc.vue index 7a5dd2cd9..47aa23112 100644 --- a/doc/nuxt/configuration/DirectivesDoc.vue +++ b/doc/nuxt/configuration/DirectivesDoc.vue @@ -1,6 +1,6 @@