You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/learn/add-react-to-an-existing-project.md
+1-11Lines changed: 1 addition & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,15 +21,9 @@ Routen, die mit `example.com/deine-app/` beginnen, vollständig mit React implem
21
21
22
22
In diesem Fall empfehlen wir dir folgende Schritte:
23
23
24
-
<<<<<<< HEAD
25
24
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/)).
27
26
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
33
27
34
28
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.
35
29
@@ -69,12 +63,8 @@ Füge danach diese Zeilen am Anfang deiner primären JavaScript-Datei (vermutlic
69
63
<html>
70
64
<head><title>Meine App</title></head>
71
65
<body>
72
-
<<<<<<< HEAD
73
66
<!-- Dein bestehender Seiteninhalt (in diesem Beispiel wird er ersetzt) -->
74
-
=======
75
-
<!-- Your existing page content (in this example, it gets replaced) -->
0 commit comments