Skip to content

Commit 680757c

Browse files
authored
Update add-react-to-an-existing-project.md
1 parent 18e1834 commit 680757c

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

src/content/learn/add-react-to-an-existing-project.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,9 @@ Routen, die mit `example.com/deine-app/` beginnen, vollständig mit React implem
2121

2222
In diesem Fall empfehlen wir dir folgende Schritte:
2323

24-
<<<<<<< HEAD
2524
1. **Erstelle den Teil der App, die mit React umgesetzt werden soll**, indem du eines der [auf React basierenden Frameworks](/learn/start-a-new-react-project) verwendest.
26-
2. **Definiere `/deine-app` als *base path*** in der Konfiguration deines Frameworks ( [Next.js](https://nextjs.org/docs/api-reference/next.config.js/basepath), [Gatsby](https://www.gatsbyjs.com/docs/how-to/previews-deploys-hosting/path-prefix/)).
25+
2. **Definiere `/deine-app` als *base path*** in der Konfiguration deines Frameworks ( [Next.js](https://nextjs.org/docs/app/api-reference/config/next-config-js/basePath), [Gatsby](https://www.gatsbyjs.com/docs/how-to/previews-deploys-hosting/path-prefix/)).
2726
3. **Konfiguriere deinen Server oder Proxy** so, dass alle Anfragen an `/deine-app/` von der React-Anwendung verarbeitet werden.
28-
=======
29-
1. **Build the React part of your app** using one of the [React-based frameworks](/learn/start-a-new-react-project).
30-
2. **Specify `/some-app` as the *base path*** in your framework's configuration (here's how: [Next.js](https://nextjs.org/docs/app/api-reference/config/next-config-js/basePath), [Gatsby](https://www.gatsbyjs.com/docs/how-to/previews-deploys-hosting/path-prefix/)).
31-
3. **Configure your server or a proxy** so that all requests under `/some-app/` are handled by your React app.
32-
>>>>>>> b22cbc3fed310b39c99fdd0f01621ac1903d1e8e
3327

3428
Damit ist sichergestellt, dass der React Teil der Anwendung von den [bewährten Praktiken](/learn/start-a-new-react-project#can-i-use-react-without-a-framework) profitieren kann, die in diese Frameworks eingebaut sind.
3529

@@ -69,12 +63,8 @@ Füge danach diese Zeilen am Anfang deiner primären JavaScript-Datei (vermutlic
6963
<html>
7064
<head><title>Meine App</title></head>
7165
<body>
72-
<<<<<<< HEAD
7366
<!-- Dein bestehender Seiteninhalt (in diesem Beispiel wird er ersetzt) -->
74-
=======
75-
<!-- Your existing page content (in this example, it gets replaced) -->
7667
<div id="root"></div>
77-
>>>>>>> b22cbc3fed310b39c99fdd0f01621ac1903d1e8e
7868
</body>
7969
</html>
8070
```

0 commit comments

Comments
 (0)