From 54ed75b7b715777a0531470bbd174fbc61516971 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Wed, 27 Dec 2023 00:29:20 +0300 Subject: [PATCH] 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 @@ - - - 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 @@ - 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 @@ - - - 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 @@ - - - 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 @@ - - - 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 @@ - - - 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 @@ - - - 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 @@ - 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 @@ - - - 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