From a2ce2d0f7215a3d6559a3b3fc1bdaf3292acf91a Mon Sep 17 00:00:00 2001
From: Cagatay Civici
Date: Tue, 26 Dec 2023 21:28:43 +0300
Subject: [PATCH 1/5] Add vite and nuxt docs to get started
---
assets/menu/menu.json | 16 ++--
doc/nuxt/DownloadDoc.vue | 8 +-
doc/nuxt/{ExampleDoc.vue => ExamplesDoc.vue} | 0
doc/nuxt/ModuleSetupDoc.vue | 30 ++++++++
doc/nuxt/SetupDoc.vue | 62 ---------------
doc/nuxt/StyledModeDoc.vue | 81 ++++++++++++++++++++
doc/nuxt/UnstyledModeDoc.vue | 47 ++++++++++++
doc/nuxt/UsageDoc.vue | 23 ++++++
doc/vite/DownloadDoc.vue | 27 +++++++
doc/vite/ExamplesDoc.vue | 9 +++
doc/vite/PluginDoc.vue | 27 +++++++
doc/vite/StyledModeDoc.vue | 44 +++++++++++
doc/vite/UnstyledModeDoc.vue | 44 +++++++++++
doc/vite/UsageDoc.vue | 46 +++++++++++
doc/vite/videos/CreateVueDoc.vue | 11 +++
pages/nuxt/index.vue | 60 ++++++++++-----
pages/vite/index.vue | 77 +++++++++++++++++++
17 files changed, 522 insertions(+), 90 deletions(-)
rename doc/nuxt/{ExampleDoc.vue => ExamplesDoc.vue} (100%)
create mode 100644 doc/nuxt/ModuleSetupDoc.vue
delete mode 100644 doc/nuxt/SetupDoc.vue
create mode 100644 doc/nuxt/StyledModeDoc.vue
create mode 100644 doc/nuxt/UnstyledModeDoc.vue
create mode 100644 doc/nuxt/UsageDoc.vue
create mode 100644 doc/vite/DownloadDoc.vue
create mode 100644 doc/vite/ExamplesDoc.vue
create mode 100644 doc/vite/PluginDoc.vue
create mode 100644 doc/vite/StyledModeDoc.vue
create mode 100644 doc/vite/UnstyledModeDoc.vue
create mode 100644 doc/vite/UsageDoc.vue
create mode 100644 doc/vite/videos/CreateVueDoc.vue
create mode 100644 pages/vite/index.vue
diff --git a/assets/menu/menu.json b/assets/menu/menu.json
index f597c2e68..6a9f47bd2 100644
--- a/assets/menu/menu.json
+++ b/assets/menu/menu.json
@@ -5,17 +5,21 @@
"icon": "pi pi-home",
"children": [
{
- "name": "Installation",
- "to": "/installation"
+ "name": "Introduction",
+ "to": "/introduction"
+ },
+ {
+ "name": "Vite Setup",
+ "to": "/vite"
+ },
+ {
+ "name": "Nuxt Setup",
+ "to": "/nuxt"
},
{
"name": "Configuration",
"to": "/configuration"
},
- {
- "name": "Nuxt",
- "to": "/nuxt"
- },
{
"name": "Playground",
"to": "/playground"
diff --git a/doc/nuxt/DownloadDoc.vue b/doc/nuxt/DownloadDoc.vue
index 23706c233..f657b1dbb 100644
--- a/doc/nuxt/DownloadDoc.vue
+++ b/doc/nuxt/DownloadDoc.vue
@@ -1,6 +1,9 @@
- The nuxt-primevue package is the official module by PrimeTek.
+
+ PrimeVue is available for download on npm Registry along with the official
+ nuxt-primevue module.
+
@@ -12,12 +15,15 @@ export default {
code: {
basic: `
# Using npm
+npm install primevue
npm install --save-dev nuxt-primevue
# Using yarn
+yarn add primevue
yarn add --dev nuxt-primevue
# Using pnpm
+pnpm add primevue
pnpm add -D nuxt-primevue
`
}
diff --git a/doc/nuxt/ExampleDoc.vue b/doc/nuxt/ExamplesDoc.vue
similarity index 100%
rename from doc/nuxt/ExampleDoc.vue
rename to doc/nuxt/ExamplesDoc.vue
diff --git a/doc/nuxt/ModuleSetupDoc.vue b/doc/nuxt/ModuleSetupDoc.vue
new file mode 100644
index 000000000..335548c4b
--- /dev/null
+++ b/doc/nuxt/ModuleSetupDoc.vue
@@ -0,0 +1,30 @@
+
+
+
+ In nuxt.config file, add the nuxt-primevue to the modules section and define primevue object for the configuration of the module. View the module configuration section
+ for the available list of options.
+
+
+
+
+
+
diff --git a/doc/nuxt/SetupDoc.vue b/doc/nuxt/SetupDoc.vue
deleted file mode 100644
index 1970aba69..000000000
--- a/doc/nuxt/SetupDoc.vue
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
- The module is enabled by adding nuxt-primevue to the modules option. Configuration values are defined with the primevue property.
-
- The complete API with the all available configuration options along with the default values.
-
-
-
-
-
diff --git a/doc/nuxt/StyledModeDoc.vue b/doc/nuxt/StyledModeDoc.vue
new file mode 100644
index 000000000..df0bbc777
--- /dev/null
+++ b/doc/nuxt/StyledModeDoc.vue
@@ -0,0 +1,81 @@
+
+
+
+ Styled mode is based on pre-skinned components with opinionated themes like Material, Bootstrap or PrimeOne themes. Theme is the required css file to be imported, visit the
+ Themes section for the complete list of available themes to choose from.
+
+ You may use the app.vue file to import a theme using a script.
+
+ The style section may also be used with @import .
+
+ Another alternative would be the css option in nuxt.config .
+
+
+ The style classes of PrimeVue are defined under the primevue CSS layer to be easier to customize by having low specificity. If you are using a CSS library that styles default HTML elements such as Tailwind Preflight, Bootstrap,
+ Normalize, or similar, a custom CSS layer configuration might be necessary with the cssLayerOrder option to make sure primevue layer is defined afterward. This only applies to Styled Mode as Unstyled Mode does not use any default
+ styles or layers. View the CSS Layer guide for more information.
+
+
+
+
+
+
+
diff --git a/doc/nuxt/UnstyledModeDoc.vue b/doc/nuxt/UnstyledModeDoc.vue
new file mode 100644
index 000000000..293a593e9
--- /dev/null
+++ b/doc/nuxt/UnstyledModeDoc.vue
@@ -0,0 +1,47 @@
+
+
+
+ Unstyled mode is disabled by default for all components. Set unstyled as true to enable it globally using a module configuration. Visit the Unstyled mode documentation for more information and
+ examples.
+
+
+ In unstyled mode, you'd need to style the components on your end. If you are using Tailwind CSS, see the Tailwind CSS Presets project to get you started.
+
+
+
+
+
diff --git a/doc/nuxt/UsageDoc.vue b/doc/nuxt/UsageDoc.vue
new file mode 100644
index 000000000..b6d2625ef
--- /dev/null
+++ b/doc/nuxt/UsageDoc.vue
@@ -0,0 +1,23 @@
+
+
+ The nuxt-primevue module registers the components automatically so you may start using them instantly. See the Components section to customize how the components are loaded and named.
+
+
+
+
+
+
+
+
diff --git a/doc/vite/DownloadDoc.vue b/doc/vite/DownloadDoc.vue
new file mode 100644
index 000000000..31b02b26f
--- /dev/null
+++ b/doc/vite/DownloadDoc.vue
@@ -0,0 +1,27 @@
+
+
+ PrimeVue is available for download on npm Registry .
+
+
+
+
+
diff --git a/doc/vite/ExamplesDoc.vue b/doc/vite/ExamplesDoc.vue
new file mode 100644
index 000000000..14bceb2a1
--- /dev/null
+++ b/doc/vite/ExamplesDoc.vue
@@ -0,0 +1,9 @@
+
+
+
+ We've created various samples for the popular options in the Vue ecosystem. Visit the primevue-examples repository for more samples including
+ vite-quickstart and
+ vite-ts-quickstart .
+
+
+
diff --git a/doc/vite/PluginDoc.vue b/doc/vite/PluginDoc.vue
new file mode 100644
index 000000000..ea56afbd8
--- /dev/null
+++ b/doc/vite/PluginDoc.vue
@@ -0,0 +1,27 @@
+
+
+
+ PrimeVue plugin is required to be installed as an application plugin to set up the default configuration . The plugin is lightweight, only sets up the configuration object without affecting your
+ application.
+
+
+
+
+
+
diff --git a/doc/vite/StyledModeDoc.vue b/doc/vite/StyledModeDoc.vue
new file mode 100644
index 000000000..873091b52
--- /dev/null
+++ b/doc/vite/StyledModeDoc.vue
@@ -0,0 +1,44 @@
+
+
+
+ Styled mode is based on pre-skinned components with opinionated themes like Material, Bootstrap or PrimeOne themes. Theme is the required css file to be imported, visit the
+ Themes section for the complete list of available themes to choose from.
+
+
+
+ The style classes of PrimeVue are defined under the primevue CSS layer to be easier to customize by having low specificity. If you are using a CSS library that styles default HTML elements such as Tailwind Preflight, Bootstrap,
+ Normalize, or similar, a custom CSS layer configuration might be necessary. This only applies to Styled Mode as Unstyled Mode does not use any default styles or layers. View the CSS Layer guide
+ for more information.
+
+
+
+
+
+
diff --git a/doc/vite/UnstyledModeDoc.vue b/doc/vite/UnstyledModeDoc.vue
new file mode 100644
index 000000000..240c65242
--- /dev/null
+++ b/doc/vite/UnstyledModeDoc.vue
@@ -0,0 +1,44 @@
+
+
+
+ Unstyled mode is disabled by default for all components. Using the PrimeVue plugin during installation, set unstyled as true to enable it globally. Visit the Unstyled mode documentation for more
+ information and examples.
+
+
+ In unstyled mode, you'd need to style the components on your end. If you are using Tailwind CSS, see the Tailwind CSS Presets project to get you started.
+
+
+
+
+
diff --git a/doc/vite/UsageDoc.vue b/doc/vite/UsageDoc.vue
new file mode 100644
index 000000000..0683096eb
--- /dev/null
+++ b/doc/vite/UsageDoc.vue
@@ -0,0 +1,46 @@
+
+
+ Each component can be imported and registered individually so that you only bundle what you use. Import path is available in the documentation of the corresponding component.
+
+
+
+
+
+
+
+
diff --git a/doc/vite/videos/CreateVueDoc.vue b/doc/vite/videos/CreateVueDoc.vue
new file mode 100644
index 000000000..cd2836e41
--- /dev/null
+++ b/doc/vite/videos/CreateVueDoc.vue
@@ -0,0 +1,11 @@
+
+
+
+ Create-Vue
+ is the recommended way to start a Vite-powered Vue project.
+
+
+
+ VIDEO
+
+
diff --git a/pages/nuxt/index.vue b/pages/nuxt/index.vue
index 5d8b7051a..4ca835172 100644
--- a/pages/nuxt/index.vue
+++ b/pages/nuxt/index.vue
@@ -1,15 +1,14 @@
-
Nuxt Module - PrimeVue
-
+
Install PrimeVue with Nuxt
+
-
-
Nuxt
-
PrimeVue has seamless integration with Nuxt using the official module.
+
Install PrimeVue with Nuxt
+
Setting up PrimeVue in a Nuxt project.
@@ -20,9 +19,12 @@
From 1929944162020271b75176210f6e63ca43d35918 Mon Sep 17 00:00:00 2001
From: Cagatay Civici
Date: Tue, 26 Dec 2023 21:38:03 +0300
Subject: [PATCH 2/5] Update route links
---
doc/breadcrumb/RouterDoc.vue | 6 +++---
doc/contextmenu/RouterDoc.vue | 6 +++---
doc/megamenu/RouterDoc.vue | 4 ++--
doc/menu/RouterDoc.vue | 6 +++---
doc/menubar/RouterDoc.vue | 6 +++---
doc/panelmenu/RouterDoc.vue | 6 +++---
doc/tieredmenu/RouterDoc.vue | 6 +++---
pages/landing/FooterSection.vue | 8 +++----
pages/landing/GetStartedSection.vue | 33 -----------------------------
pages/landing/HeroSection.vue | 2 +-
10 files changed, 25 insertions(+), 58 deletions(-)
delete mode 100644 pages/landing/GetStartedSection.vue
diff --git a/doc/breadcrumb/RouterDoc.vue b/doc/breadcrumb/RouterDoc.vue
index 92f0045d3..c242a6da8 100644
--- a/doc/breadcrumb/RouterDoc.vue
+++ b/doc/breadcrumb/RouterDoc.vue
@@ -26,7 +26,7 @@ export default {
return {
home: {
icon: 'pi pi-home',
- route: '/installation'
+ route: '/introduction'
},
items: [{ label: 'Components' }, { label: 'Form' }, { label: 'InputText', route: '/inputtext' }],
code: {
@@ -70,7 +70,7 @@ export default {
return {
home: {
icon: 'pi pi-home',
- route: '/installation'
+ route: '/introduction'
},
items: [
{ label: 'Components' },
@@ -106,7 +106,7 @@ import { ref } from "vue";
const home = ref({
icon: 'pi pi-home',
- route: '/installation'
+ route: '/introduction'
});
const items = ref([
{ label: 'Components' },
diff --git a/doc/contextmenu/RouterDoc.vue b/doc/contextmenu/RouterDoc.vue
index f999362a0..be58280e6 100644
--- a/doc/contextmenu/RouterDoc.vue
+++ b/doc/contextmenu/RouterDoc.vue
@@ -47,7 +47,7 @@ export default {
label: 'Programmatic',
icon: 'pi pi-link',
command: () => {
- this.$router.push('/installation');
+ this.$router.push('/introduction');
}
},
{
@@ -125,7 +125,7 @@ export default {
label: 'Programmatic',
icon: 'pi pi-link',
command: () => {
- this.$router.push('/installation');
+ this.$router.push('/introduction');
}
},
{
@@ -193,7 +193,7 @@ const items = ref([
label: 'Programmatic',
icon: 'pi pi-link',
command: () => {
- router.push('/installation');
+ router.push('/introduction');
}
},
{
diff --git a/doc/megamenu/RouterDoc.vue b/doc/megamenu/RouterDoc.vue
index 8fdc9c94b..c95160f37 100644
--- a/doc/megamenu/RouterDoc.vue
+++ b/doc/megamenu/RouterDoc.vue
@@ -71,7 +71,7 @@ export default {
{
label: 'Installation',
command: () => {
- this.$router.push('/installation');
+ this.$router.push('/introduction');
}
}
]
@@ -147,7 +147,7 @@ const items = ref([
{
label: 'Installation',
command: () => {
- $router.push('/installation');
+ $router.push('/introduction');
}
}
]
diff --git a/doc/menu/RouterDoc.vue b/doc/menu/RouterDoc.vue
index 374bb624c..0f6b6c172 100644
--- a/doc/menu/RouterDoc.vue
+++ b/doc/menu/RouterDoc.vue
@@ -38,7 +38,7 @@ export default {
label: 'Programmatic',
icon: 'pi pi-link',
command: () => {
- this.$router.push('/installation');
+ this.$router.push('/introduction');
}
},
{
@@ -100,7 +100,7 @@ export default {
label: 'Programmatic',
icon: 'pi pi-link',
command: () => {
- this.$router.push('/installation');
+ this.$router.push('/introduction');
}
},
{
@@ -150,7 +150,7 @@ const items = ref([
label: 'Programmatic',
icon: 'pi pi-link',
command: () => {
- this.$router.push('/installation');
+ this.$router.push('/introduction');
}
},
{
diff --git a/doc/menubar/RouterDoc.vue b/doc/menubar/RouterDoc.vue
index 67f3ebc64..83dbc1dc8 100644
--- a/doc/menubar/RouterDoc.vue
+++ b/doc/menubar/RouterDoc.vue
@@ -45,7 +45,7 @@ export default {
label: 'Programmatic',
icon: 'pi pi-link',
command: () => {
- this.$router.push('/installation');
+ this.$router.push('/introduction');
}
},
{
@@ -125,7 +125,7 @@ export default {
label: 'Programmatic',
icon: 'pi pi-link',
command: () => {
- this.$router.push('/installation');
+ this.$router.push('/introduction');
}
},
{
@@ -194,7 +194,7 @@ const items = ref([
label: 'Programmatic',
icon: 'pi pi-link',
command: () => {
- router.push('/installation');
+ router.push('/introduction');
}
},
{
diff --git a/doc/panelmenu/RouterDoc.vue b/doc/panelmenu/RouterDoc.vue
index 85f6cab1d..1c82ec15c 100644
--- a/doc/panelmenu/RouterDoc.vue
+++ b/doc/panelmenu/RouterDoc.vue
@@ -47,7 +47,7 @@ export default {
label: 'Programmatic',
icon: 'pi pi-link',
command: () => {
- this.$router.push('/installation');
+ this.$router.push('/introduction');
}
},
{
@@ -131,7 +131,7 @@ export default {
label: 'Programmatic',
icon: 'pi pi-link',
command: () => {
- this.$router.push('/installation');
+ this.$router.push('/introduction');
}
},
{
@@ -204,7 +204,7 @@ const items = ref([
label: 'Programmatic',
icon: 'pi pi-link',
command: () => {
- router.push('/installation');
+ router.push('/introduction');
}
},
{
diff --git a/doc/tieredmenu/RouterDoc.vue b/doc/tieredmenu/RouterDoc.vue
index 75e646fd5..d40c8bf66 100644
--- a/doc/tieredmenu/RouterDoc.vue
+++ b/doc/tieredmenu/RouterDoc.vue
@@ -45,7 +45,7 @@ export default {
label: 'Programmatic',
icon: 'pi pi-link',
command: () => {
- this.$router.push('/installation');
+ this.$router.push('/introduction');
}
},
{
@@ -125,7 +125,7 @@ export default {
label: 'Programmatic',
icon: 'pi pi-link',
command: () => {
- this.$router.push('/installation');
+ this.$router.push('/introduction');
}
},
{
@@ -194,7 +194,7 @@ const items = ref([
label: 'Programmatic',
icon: 'pi pi-link',
command: () => {
- router.push('/installation');
+ router.push('/introduction');
}
},
{
diff --git a/pages/landing/FooterSection.vue b/pages/landing/FooterSection.vue
index ce7c65245..4bd7be466 100644
--- a/pages/landing/FooterSection.vue
+++ b/pages/landing/FooterSection.vue
@@ -6,7 +6,7 @@
General
- Get Started
+ Get Started
Examples
@@ -23,7 +23,7 @@
Discord
- PRO Support
+ PRO Support
@@ -31,10 +31,10 @@
Theming
- Styled Mode
+ Styled Mode
- Unstyled Mode
+ Unstyled Mode
diff --git a/pages/landing/GetStartedSection.vue b/pages/landing/GetStartedSection.vue
deleted file mode 100644
index 6b8bca40e..000000000
--- a/pages/landing/GetStartedSection.vue
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
-
Get Started
-
-
- {{ npmText }}
-
-
-
-
-
-
diff --git a/pages/landing/HeroSection.vue b/pages/landing/HeroSection.vue
index 543bc1c47..f1cfa7198 100644
--- a/pages/landing/HeroSection.vue
+++ b/pages/landing/HeroSection.vue
@@ -7,7 +7,7 @@
Elevate your web applications with PrimeVue's comprehensive suite of customizable, feature-rich UI components. With PrimeVue, turning your development vision into reality has never been easier.
-
+
Get Started
From 0615d3ade528d0b06783355d3e81df2265ea180c Mon Sep 17 00:00:00 2001
From: Cagatay Civici
Date: Tue, 26 Dec 2023 23:17:49 +0300
Subject: [PATCH 3/5] Refactored landing components folder, move away from
pages
---
{pages => components}/landing/BlockSection.vue | 0
{pages => components}/landing/FeaturesSection.vue | 0
{pages => components}/landing/FooterSection.vue | 0
{pages => components}/landing/HeroSection.vue | 0
{pages => components}/landing/TemplateSection.vue | 0
{pages => components}/landing/ThemeSection.vue | 0
{pages => components}/landing/UsersSection.vue | 0
pages/index.vue | 14 +++++++-------
8 files changed, 7 insertions(+), 7 deletions(-)
rename {pages => components}/landing/BlockSection.vue (100%)
rename {pages => components}/landing/FeaturesSection.vue (100%)
rename {pages => components}/landing/FooterSection.vue (100%)
rename {pages => components}/landing/HeroSection.vue (100%)
rename {pages => components}/landing/TemplateSection.vue (100%)
rename {pages => components}/landing/ThemeSection.vue (100%)
rename {pages => components}/landing/UsersSection.vue (100%)
diff --git a/pages/landing/BlockSection.vue b/components/landing/BlockSection.vue
similarity index 100%
rename from pages/landing/BlockSection.vue
rename to components/landing/BlockSection.vue
diff --git a/pages/landing/FeaturesSection.vue b/components/landing/FeaturesSection.vue
similarity index 100%
rename from pages/landing/FeaturesSection.vue
rename to components/landing/FeaturesSection.vue
diff --git a/pages/landing/FooterSection.vue b/components/landing/FooterSection.vue
similarity index 100%
rename from pages/landing/FooterSection.vue
rename to components/landing/FooterSection.vue
diff --git a/pages/landing/HeroSection.vue b/components/landing/HeroSection.vue
similarity index 100%
rename from pages/landing/HeroSection.vue
rename to components/landing/HeroSection.vue
diff --git a/pages/landing/TemplateSection.vue b/components/landing/TemplateSection.vue
similarity index 100%
rename from pages/landing/TemplateSection.vue
rename to components/landing/TemplateSection.vue
diff --git a/pages/landing/ThemeSection.vue b/components/landing/ThemeSection.vue
similarity index 100%
rename from pages/landing/ThemeSection.vue
rename to components/landing/ThemeSection.vue
diff --git a/pages/landing/UsersSection.vue b/components/landing/UsersSection.vue
similarity index 100%
rename from pages/landing/UsersSection.vue
rename to components/landing/UsersSection.vue
diff --git a/pages/index.vue b/pages/index.vue
index 58ba1d022..626176e45 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -13,16 +13,16 @@
From 54ed75b7b715777a0531470bbd174fbc61516971 Mon Sep 17 00:00:00 2001
From: Cagatay Civici
Date: Wed, 27 Dec 2023 00:29:20 +0300
Subject: [PATCH 5/5] Add redirect
---
doc/installation/DownloadDoc.vue | 27 --------
doc/installation/ExamplesDoc.vue | 19 ------
doc/installation/PluginDoc.vue | 27 --------
doc/installation/PropCasesDoc.vue | 25 -------
doc/installation/StyledModeDoc.vue | 41 ------------
doc/installation/UnstyledModeDoc.vue | 27 --------
doc/installation/UsageDoc.vue | 46 -------------
doc/installation/videos/CreateVueDoc.vue | 11 ----
nuxt.config.js | 4 ++
pages/installation/index.vue | 83 ------------------------
vercel.json | 9 ---
11 files changed, 4 insertions(+), 315 deletions(-)
delete mode 100644 doc/installation/DownloadDoc.vue
delete mode 100644 doc/installation/ExamplesDoc.vue
delete mode 100644 doc/installation/PluginDoc.vue
delete mode 100644 doc/installation/PropCasesDoc.vue
delete mode 100644 doc/installation/StyledModeDoc.vue
delete mode 100644 doc/installation/UnstyledModeDoc.vue
delete mode 100644 doc/installation/UsageDoc.vue
delete mode 100644 doc/installation/videos/CreateVueDoc.vue
delete mode 100644 pages/installation/index.vue
delete mode 100644 vercel.json
diff --git a/doc/installation/DownloadDoc.vue b/doc/installation/DownloadDoc.vue
deleted file mode 100644
index 31b02b26f..000000000
--- a/doc/installation/DownloadDoc.vue
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
- PrimeVue is available for download on npm Registry .
-
-
-
-
-
diff --git a/doc/installation/ExamplesDoc.vue b/doc/installation/ExamplesDoc.vue
deleted file mode 100644
index a91d78481..000000000
--- a/doc/installation/ExamplesDoc.vue
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
- We've created various samples for the popular options in the Vue ecosystem. Visit the primevue-examples repository for more samples.
-
-
-
diff --git a/doc/installation/PluginDoc.vue b/doc/installation/PluginDoc.vue
deleted file mode 100644
index f6953eb3b..000000000
--- a/doc/installation/PluginDoc.vue
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
- PrimeVue plugin is required to be installed with the use function to set up the default configuration . If you are using Nuxt , this step is not required
- as our nuxt module handles it.
-
-
-
-
-
-
diff --git a/doc/installation/PropCasesDoc.vue b/doc/installation/PropCasesDoc.vue
deleted file mode 100644
index cc94aef09..000000000
--- a/doc/installation/PropCasesDoc.vue
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
- Component prop names are described as camel case throughout the documentation however kebab-case is also fully supported. Events on the other hand should always be kebab-case.
-
-
-
-
-
-
diff --git a/doc/installation/StyledModeDoc.vue b/doc/installation/StyledModeDoc.vue
deleted file mode 100644
index 9c2ce90f9..000000000
--- a/doc/installation/StyledModeDoc.vue
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
- Styled mode is based on pre-skinned components with opinionated themes like Material, Bootstrap or PrimeOne themes. Theme is the required css file to be imported, visit the
- Themes section for the complete list of available themes to choose from.
-
-
-
- The classes of PrimeVue is defined under the primevue CSS layer to be easier to customize by having low specificity. If you are using a CSS library that styles default HTML elements such as Tailwind Preflight, Bootstrap, Normalize
- or similar a custom CSS layer configuration might be necessary. Note that this only applies to Styled Mode as Unstyled Mode does not use any default styles or layers. Here is an example with Tailwind, visit the
- CSS Layer for more information.
-
-
-
-
-
-
diff --git a/doc/installation/UnstyledModeDoc.vue b/doc/installation/UnstyledModeDoc.vue
deleted file mode 100644
index 84c1819c6..000000000
--- a/doc/installation/UnstyledModeDoc.vue
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
- Unstyled mode is disabled by default for all components. Using the PrimeVue plugin during installation, set unstyled as true to enable it globally. Visit the Unstyled mode documentation for more
- information and examples.
-
-
-
-
-
-
diff --git a/doc/installation/UsageDoc.vue b/doc/installation/UsageDoc.vue
deleted file mode 100644
index 4e3218eea..000000000
--- a/doc/installation/UsageDoc.vue
+++ /dev/null
@@ -1,46 +0,0 @@
-
-
- Each component can be imported individually so that you only bundle what you use. Import path is available in the documentation of the corresponding component.
-
-
-
-
-
-
-
-
diff --git a/doc/installation/videos/CreateVueDoc.vue b/doc/installation/videos/CreateVueDoc.vue
deleted file mode 100644
index cd2836e41..000000000
--- a/doc/installation/videos/CreateVueDoc.vue
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- Create-Vue
- is the recommended way to start a Vite-powered Vue project.
-
-
-
- VIDEO
-
-
diff --git a/nuxt.config.js b/nuxt.config.js
index ee9386ec8..e53278897 100644
--- a/nuxt.config.js
+++ b/nuxt.config.js
@@ -17,6 +17,10 @@ export default defineNuxtConfig({
nitro: {
alias: aliasConfig.resolve.alias
},
+ routeRules: {
+ '/accessibility': { redirect: { to: '/guides/accessibility', statusCode: 301 } },
+ '/installation': { redirect: { to: '/vite', statusCode: 301 } }
+ },
primevue: {
options: {
ripple: true
diff --git a/pages/installation/index.vue b/pages/installation/index.vue
deleted file mode 100644
index 121556c96..000000000
--- a/pages/installation/index.vue
+++ /dev/null
@@ -1,83 +0,0 @@
-
-
- Getting Started - PrimeVue
-
-
-
-
-
-
Installation
-
PrimeVue is a rich set of open source UI components for Vue.
-
-
-
-
-
-
-
-
diff --git a/vercel.json b/vercel.json
deleted file mode 100644
index 35c70806b..000000000
--- a/vercel.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "redirects": [
- {
- "source": "/accessibility",
- "destination": "/guides/accessibility",
- "permanent": true
- }
- ]
- }
\ No newline at end of file