From 2d6b48bfd9afb7d6fd9813ce2c9ff92ae1f88150 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Sun, 27 Oct 2024 13:54:37 +0300 Subject: [PATCH] Updated getting started docs --- apps/showcase/assets/menu/menu.json | 10 ++--- apps/showcase/doc/nuxt/DownloadDoc.vue | 8 ++-- .../doc/nuxt/{SetupDoc.vue => ModuleDoc.vue} | 0 apps/showcase/doc/nuxt/NextStepsDoc.vue | 11 +++++ apps/showcase/doc/nuxt/StyleDoc.vue | 29 ------------ apps/showcase/doc/nuxt/ThemeDoc.vue | 33 ++++++++++++++ .../doc/nuxt/{UsageDoc.vue => VerifyDoc.vue} | 6 +-- .../doc/nuxt/configuration/UsePrimeVueDoc.vue | 2 +- .../doc/passthrough/IntroductionDoc.vue | 4 +- apps/showcase/doc/vite/DownloadDoc.vue | 6 +-- apps/showcase/doc/vite/NextStepsDoc.vue | 12 +++++ apps/showcase/doc/vite/PluginDoc.vue | 5 +-- apps/showcase/doc/vite/StyledModeDoc.vue | 44 ------------------- apps/showcase/doc/vite/ThemeDoc.vue | 29 ++++++++++++ apps/showcase/doc/vite/UnstyledModeDoc.vue | 29 ------------ .../doc/vite/{UsageDoc.vue => VerifyDoc.vue} | 11 +++-- apps/showcase/pages/nuxt/index.vue | 43 ++++++++---------- apps/showcase/pages/vite/index.vue | 40 ++++++++--------- 18 files changed, 146 insertions(+), 176 deletions(-) rename apps/showcase/doc/nuxt/{SetupDoc.vue => ModuleDoc.vue} (100%) create mode 100644 apps/showcase/doc/nuxt/NextStepsDoc.vue delete mode 100644 apps/showcase/doc/nuxt/StyleDoc.vue create mode 100644 apps/showcase/doc/nuxt/ThemeDoc.vue rename apps/showcase/doc/nuxt/{UsageDoc.vue => VerifyDoc.vue} (73%) create mode 100644 apps/showcase/doc/vite/NextStepsDoc.vue delete mode 100644 apps/showcase/doc/vite/StyledModeDoc.vue create mode 100644 apps/showcase/doc/vite/ThemeDoc.vue delete mode 100644 apps/showcase/doc/vite/UnstyledModeDoc.vue rename apps/showcase/doc/vite/{UsageDoc.vue => VerifyDoc.vue} (58%) diff --git a/apps/showcase/assets/menu/menu.json b/apps/showcase/assets/menu/menu.json index e0f4040ee..1b532f34d 100644 --- a/apps/showcase/assets/menu/menu.json +++ b/apps/showcase/assets/menu/menu.json @@ -586,11 +586,6 @@ } ] }, - { - "name": "Contribution", - "to": "/contribution", - "icon": "pi pi-users" - }, { "name": "Discover", "icon": "pi pi-search", @@ -611,6 +606,11 @@ "name": "Changelog", "href": "https://github.com/primefaces/primevue/blob/master/CHANGELOG.md" }, + { + "name": "Contribution", + "to": "/contribution", + "icon": "pi pi-users" + }, { "name": "Store", "href": "https://www.primefaces.org/store/" diff --git a/apps/showcase/doc/nuxt/DownloadDoc.vue b/apps/showcase/doc/nuxt/DownloadDoc.vue index fd32f96d6..353d90ed8 100644 --- a/apps/showcase/doc/nuxt/DownloadDoc.vue +++ b/apps/showcase/doc/nuxt/DownloadDoc.vue @@ -2,7 +2,7 @@

PrimeVue is available for download on npm Registry along with the official - nuxt-primevue module. + @primevue/nuxt-module.

@@ -15,15 +15,15 @@ export default { code: { basic: ` # Using npm -npm install primevue +npm install primevue @primevue/themes npm install --save-dev @primevue/nuxt-module # Using yarn -yarn add primevue +yarn add primevue @primevue/themes yarn add --dev @primevue/nuxt-module # Using pnpm -pnpm add primevue +pnpm add primevue @primevue/themes pnpm add -D @primevue/nuxt-module ` } diff --git a/apps/showcase/doc/nuxt/SetupDoc.vue b/apps/showcase/doc/nuxt/ModuleDoc.vue similarity index 100% rename from apps/showcase/doc/nuxt/SetupDoc.vue rename to apps/showcase/doc/nuxt/ModuleDoc.vue diff --git a/apps/showcase/doc/nuxt/NextStepsDoc.vue b/apps/showcase/doc/nuxt/NextStepsDoc.vue new file mode 100644 index 000000000..7ba595332 --- /dev/null +++ b/apps/showcase/doc/nuxt/NextStepsDoc.vue @@ -0,0 +1,11 @@ + diff --git a/apps/showcase/doc/nuxt/StyleDoc.vue b/apps/showcase/doc/nuxt/StyleDoc.vue deleted file mode 100644 index 1745b56fc..000000000 --- a/apps/showcase/doc/nuxt/StyleDoc.vue +++ /dev/null @@ -1,29 +0,0 @@ - - - diff --git a/apps/showcase/doc/nuxt/ThemeDoc.vue b/apps/showcase/doc/nuxt/ThemeDoc.vue new file mode 100644 index 000000000..e0930a54c --- /dev/null +++ b/apps/showcase/doc/nuxt/ThemeDoc.vue @@ -0,0 +1,33 @@ + + + diff --git a/apps/showcase/doc/nuxt/UsageDoc.vue b/apps/showcase/doc/nuxt/VerifyDoc.vue similarity index 73% rename from apps/showcase/doc/nuxt/UsageDoc.vue rename to apps/showcase/doc/nuxt/VerifyDoc.vue index ff8fc2f74..0fd090057 100644 --- a/apps/showcase/doc/nuxt/UsageDoc.vue +++ b/apps/showcase/doc/nuxt/VerifyDoc.vue @@ -1,9 +1,9 @@ @@ -14,7 +14,7 @@ export default { return { code: { basic: ` -