From 309c665bb1f92546f78ad6896c4b7ad047e4924d Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Wed, 3 Jul 2024 13:06:06 +0300 Subject: [PATCH] Update nuxt doc --- apps/showcase/doc/cdn/ExampleDoc.vue | 4 +- apps/showcase/doc/cdn/ScriptDoc.vue | 4 +- apps/showcase/doc/cdn/ThemingDoc.vue | 8 ++-- apps/showcase/doc/nuxt/AutoImportDoc.vue | 40 ++++++++++++++++ apps/showcase/doc/nuxt/DownloadDoc.vue | 12 ++--- apps/showcase/doc/nuxt/SetupDoc.vue | 7 +-- apps/showcase/doc/nuxt/StyledModeDoc.vue | 48 +++++++++++++++++++ apps/showcase/doc/nuxt/UnstyledModeDoc.vue | 32 +++++++++++++ apps/showcase/doc/nuxt/UsageDoc.vue | 2 +- .../doc/nuxt/configuration/ComponentsDoc.vue | 1 + .../doc/nuxt/configuration/DirectivesDoc.vue | 1 + .../doc/nuxt/configuration/OptionsDoc.vue | 26 +++++++--- .../doc/nuxt/configuration/UsePrimeVueDoc.vue | 2 +- apps/showcase/doc/vite/DownloadDoc.vue | 6 +-- apps/showcase/doc/vite/StyledModeDoc.vue | 6 +-- apps/showcase/doc/vite/UnstyledModeDoc.vue | 4 -- apps/showcase/pages/nuxt/index.vue | 45 +++++++++++++---- packages/nuxt-module/src/module.ts | 2 +- 18 files changed, 202 insertions(+), 48 deletions(-) create mode 100644 apps/showcase/doc/nuxt/AutoImportDoc.vue create mode 100644 apps/showcase/doc/nuxt/StyledModeDoc.vue create mode 100644 apps/showcase/doc/nuxt/UnstyledModeDoc.vue diff --git a/apps/showcase/doc/cdn/ExampleDoc.vue b/apps/showcase/doc/cdn/ExampleDoc.vue index 39879b7ce..ff6fc7cc9 100644 --- a/apps/showcase/doc/cdn/ExampleDoc.vue +++ b/apps/showcase/doc/cdn/ExampleDoc.vue @@ -20,8 +20,8 @@ export default { diff --git a/apps/showcase/doc/nuxt/DownloadDoc.vue b/apps/showcase/doc/nuxt/DownloadDoc.vue index c13ef301a..fd32f96d6 100644 --- a/apps/showcase/doc/nuxt/DownloadDoc.vue +++ b/apps/showcase/doc/nuxt/DownloadDoc.vue @@ -15,16 +15,16 @@ export default { code: { basic: ` # Using npm -npm install primevue@4.0.0-rc.2 -npm install --save-dev @primevue/nuxt-module@4.0.0-rc.2 +npm install primevue +npm install --save-dev @primevue/nuxt-module # Using yarn -yarn add primevue@4.0.0-rc.2 -yarn add --dev @primevue/nuxt-module@4.0.0-rc.2 +yarn add primevue +yarn add --dev @primevue/nuxt-module # Using pnpm -pnpm add primevue@4.0.0-rc.2 -pnpm add -D @primevue/nuxt-module@4.0.0-rc.2 +pnpm add primevue +pnpm add -D @primevue/nuxt-module ` } }; diff --git a/apps/showcase/doc/nuxt/SetupDoc.vue b/apps/showcase/doc/nuxt/SetupDoc.vue index f231af691..17ab095b2 100644 --- a/apps/showcase/doc/nuxt/SetupDoc.vue +++ b/apps/showcase/doc/nuxt/SetupDoc.vue @@ -1,9 +1,6 @@ @@ -19,7 +16,7 @@ export default defineNuxtConfig({ '@primevue/nuxt-module' ], primevue: { - /* Options */ + /* Configuration */ } }) ` diff --git a/apps/showcase/doc/nuxt/StyledModeDoc.vue b/apps/showcase/doc/nuxt/StyledModeDoc.vue new file mode 100644 index 000000000..e3e033f08 --- /dev/null +++ b/apps/showcase/doc/nuxt/StyledModeDoc.vue @@ -0,0 +1,48 @@ + + + diff --git a/apps/showcase/doc/nuxt/UnstyledModeDoc.vue b/apps/showcase/doc/nuxt/UnstyledModeDoc.vue new file mode 100644 index 000000000..7c3660cd9 --- /dev/null +++ b/apps/showcase/doc/nuxt/UnstyledModeDoc.vue @@ -0,0 +1,32 @@ + + + diff --git a/apps/showcase/doc/nuxt/UsageDoc.vue b/apps/showcase/doc/nuxt/UsageDoc.vue index cc92ab8cd..ff8fc2f74 100644 --- a/apps/showcase/doc/nuxt/UsageDoc.vue +++ b/apps/showcase/doc/nuxt/UsageDoc.vue @@ -1,6 +1,6 @@