Skip to content

Commit 55938a5

Browse files
Merge branch 'main' into sync-91614a51
2 parents 4f4a28f + 71c94ca commit 55938a5

File tree

2 files changed

+40
-66
lines changed

2 files changed

+40
-66
lines changed

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

+2-12
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,9 @@ title: किसी मौजूदा प्रोजेक्ट में Rea
4545

4646
* **यदि आपका ऐप पहले से ही उन फ़ाइलों में विभाजित है जो `import` स्टेटमेंट का उपयोग करती हैं, तो,** आपके पास पहले से मौजूद सेटअप का उपयोग करने का प्रयास करें।जांचें कि क्या आपके JS कोड में `<div />` लिखना एक सिंटैक्स त्रुटि का कारण बनता है।यदि यह एक सिंटैक्स त्रुटि का कारण बनता है, तो आपको [बाबेल के साथ अपने जावास्क्रिप्ट कोड को बदलने की आवश्यकता हो सकती है](https://babeljs.io/setup),और JSX का उपयोग करने के लिए [बैबेल रिएक्ट प्रीसेट](https://babeljs.io/docs/babel-preset-react) को सक्षम करें।
4747

48-
* **यदि आपके ऐप में जावास्क्रिप्ट मॉड्यूल को संकलित करने के लिए मौजूदा सेटअप नहीं है, तो** इसे [VITE](https://vitejs.dev/) के साथ सेट करें। VITE समुदाय [बैकएंड फ्रेमवर्क के साथ कई एकीकरण](https://github.com/vitejs/awesome-vite#integrations-with-backends) को बनाए रखता है, जिसमें Rail, Django और Laravel शामिल हैं।यदि आपका बैकएंड फ्रेमवर्क सूचीबद्ध नहीं है, तो [इस गाइड का पालन करें](https://vitejs.dev/guide/backend-integration.html) मैन्युअल रूप से आपके बैकएंड के साथ VITE बिल्ड को एकीकृत करने के लिए।
48+
* **यदि आपके ऐप में जावास्क्रिप्ट मॉड्यूल को संकलित करने के लिए मौजूदा सेटअप नहीं है, तो** इसे [Vite](https://vite.dev/) के साथ सेट करें। VITE समुदाय [बैकएंड फ्रेमवर्क के साथ कई एकीकरण](https://github.com/vitejs/awesome-vite#integrations-with-backends) को बनाए रखता है, जिसमें Rail, Django और Laravel शामिल हैं।यदि आपका बैकएंड फ्रेमवर्क सूचीबद्ध नहीं है, तो [इस गाइड का पालन करें](https://vitejs.dev/guide/backend-integration.html) मैन्युअल रूप से आपके बैकएंड के साथ VITE बिल्ड को एकीकृत करने के लिए।
4949

50-
<<<<<<< HEAD
5150
यह जांचने के लिए कि आपका सेटअप काम करता है, इस कमांड को अपने प्रोजेक्ट फ़ोल्डर में चलाएं:
52-
=======
53-
* **If your app doesn't have an existing setup for compiling JavaScript modules,** set it up with [Vite](https://vite.dev/). The Vite community maintains [many integrations with backend frameworks](https://github.com/vitejs/awesome-vite#integrations-with-backends), including Rails, Django, and Laravel. If your backend framework is not listed, [follow this guide](https://vite.dev/guide/backend-integration.html) to manually integrate Vite builds with your backend.
54-
55-
To check whether your setup works, run this command in your project folder:
56-
>>>>>>> 91614a51a1be9078777bc337ba83fc62e606cc14
5751

5852
<TerminalBlock>
5953
npm install react react-dom
@@ -91,11 +85,7 @@ root.render(<h1>Hello, world</h1>);
9185

9286
<Note>
9387

94-
<<<<<<< HEAD
95-
पहली बार एक मौजूदा परियोजना में एक मॉड्यूलर जावास्क्रिप्ट वातावरण को एकीकृत करना डराने वाला महसूस कर सकता है, लेकिन यह इसके लायक है!यदि आप अटक जाते हैं, तो हमारे [सामुदायिक संसाधन](/community) या [vite चैट](https://chat.vitejs.dev/) का प्रयास करें।
96-
=======
97-
Integrating a modular JavaScript environment into an existing project for the first time can feel intimidating, but it's worth it! If you get stuck, try our [community resources](/community) or the [Vite Chat](https://chat.vite.dev/).
98-
>>>>>>> 91614a51a1be9078777bc337ba83fc62e606cc14
88+
पहली बार एक मौजूदा परियोजना में एक मॉड्यूलर जावास्क्रिप्ट वातावरण को एकीकृत करना डराने वाला महसूस कर सकता है, लेकिन यह इसके लायक है!यदि आप अटक जाते हैं, तो हमारे [सामुदायिक संसाधन](/community) या [Vite चैट](https://chat.vite.dev/) का प्रयास करें।
9989

10090
</Note>
10191

0 commit comments

Comments
 (0)