From 80aab2f90c0d4cf809e7dfd7fe7e6315cbf3ef9e Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot <> Date: Sun, 15 Oct 2023 21:30:57 +0000 Subject: [PATCH 1/2] Code Format --- doc/nuxt/ExampleDoc.vue | 4 ++-- pages/nuxt/index.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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/pages/nuxt/index.vue b/pages/nuxt/index.vue index 71d8aa01e..b1bc41c0f 100644 --- a/pages/nuxt/index.vue +++ b/pages/nuxt/index.vue @@ -89,7 +89,7 @@ export default { id: 'video', label: 'Video', component: VideoDoc - }, + } ] }; } From 2d66c39da45e43076070b0bc8f6acb26cd4f482a Mon Sep 17 00:00:00 2001 From: mertsincan Date: Mon, 16 Oct 2023 09:10:39 +0100 Subject: [PATCH 2/2] Refactor on nuxt doc --- doc/nuxt/DownloadDoc.vue | 2 +- doc/nuxt/configuration/ComponentsDoc.vue | 12 ++++++------ doc/nuxt/configuration/DirectivesDoc.vue | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) 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/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 @@