Skip to content

Commit c030630

Browse files
committed
docs(react): rename adding to existing app file and add redirects
1 parent b35e544 commit c030630

File tree

5 files changed

+39
-9
lines changed

5 files changed

+39
-9
lines changed
Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
1-
# Adding To An Existing React App
2-
3-
This post has been forked from [Ely Lucas' blog post](https://dev.to/ionic/adding-ionic-react-to-an-existing-react-project-4kib) and updated to the latest version of Ionic.
1+
---
2+
title: Add to Existing React App
3+
sidebar_label: Add to Existing React App
4+
---
5+
6+
<head>
7+
<title>Add Ionic React to Existing Project: Integration Guide</title>
8+
<meta
9+
name="description"
10+
content="Learn how to add Ionic React to your existing React project. Step-by-step guide for integrating Ionic components and features into an existing React application."
11+
/>
12+
</head>
13+
14+
This guide covers how to add Ionic React to an existing React project.
415

516
### Using Individual Ionic Components
617

sidebars.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ module.exports = {
123123
'react/your-first-app/distribute',
124124
],
125125
},
126-
'react/adding-ionic-react-to-an-existing-react-project',
126+
'react/add-to-existing',
127127
'react/lifecycle',
128128
'react/navigation',
129129
'react/virtual-scroll',

vercel.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,15 @@
9494
"destination": "/docs/vue/your-first-app/deploying-mobile"
9595
},
9696
{ "source": "/docs/vue/your-first-app/7-live-reload", "destination": "/docs/vue/your-first-app/live-reload" },
97-
{ "source": "/docs/react/testing", "destination": "/docs/react/testing/introduction" }
97+
{ "source": "/docs/react/testing", "destination": "/docs/react/testing/introduction" },
98+
{
99+
"source": "/docs/react/adding-ionic-react-to-an-existing-react-project",
100+
"destination": "/docs/react/add-to-existing"
101+
},
102+
{
103+
"source": "/docs/:version(v7)/react/adding-ionic-react-to-an-existing-react-project",
104+
"destination": "/docs/:version/react/add-to-existing"
105+
}
98106
],
99107
"rewrites": [
100108
{ "source": "/docs", "destination": "/" },

docs/react/adding-ionic-react-to-an-existing-react-project.md renamed to versioned_docs/version-v7/react/add-to-existing.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
1-
# Adding To An Existing React App
2-
3-
This post has been forked from [Ely Lucas' blog post](https://dev.to/ionic/adding-ionic-react-to-an-existing-react-project-4kib) and updated to the latest version of Ionic.
1+
---
2+
title: Add to Existing
3+
sidebar_label: Add to Existing
4+
---
5+
6+
<head>
7+
<title>Add Ionic React to Existing Project: Integration Guide</title>
8+
<meta
9+
name="description"
10+
content="Learn how to add Ionic React to your existing React project. Step-by-step guide for integrating Ionic components and features into an existing React application."
11+
/>
12+
</head>
13+
14+
This guide covers how to add Ionic React to an existing React project.
415

516
### Using Individual Ionic Components
617

versioned_sidebars/version-v7-sidebars.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
"react/your-first-app/distribute"
128128
]
129129
},
130-
"react/adding-ionic-react-to-an-existing-react-project",
130+
"react/add-to-existing",
131131
"react/lifecycle",
132132
"react/navigation",
133133
"react/virtual-scroll",

0 commit comments

Comments
 (0)