|
1 | 1 | ---
|
2 |
| -title: Installation |
| 2 | +title: Instalacija |
3 | 3 | ---
|
4 | 4 |
|
5 | 5 | <Intro>
|
6 | 6 |
|
7 |
| -React has been designed from the start for gradual adoption. You can use as little or as much React as you need. Whether you want to get a taste of React, add some interactivity to an HTML page, or start a complex React-powered app, this section will help you get started. |
| 7 | +React je dizajniran od početka za postepeno usvajanje. Možete koristiti koliko god React-a želite. Bez obzira da li želite da probate React, dodate neku interaktivnost na HTML stranicu, ili da započnete kompleksnu React aplikaciju, ova sekcija će vam pomoći da počnete. |
| 8 | + |
8 | 9 |
|
9 | 10 | </Intro>
|
10 | 11 |
|
11 | 12 | <YouWillLearn isChapter={true}>
|
12 | 13 |
|
13 |
| -* [How to start a new React project](/learn/start-a-new-react-project) |
14 |
| -* [How to add React to an existing project](/learn/add-react-to-an-existing-project) |
15 |
| -* [How to set up your editor](/learn/editor-setup) |
16 |
| -* [How to install React Developer Tools](/learn/react-developer-tools) |
| 14 | +* [Kako započeti novi React projekat](/learn/start-a-new-react-project) |
| 15 | +* [Kako dodati React na postojeći projekat](/learn/add-react-to-an-existing-project) |
| 16 | +* [Kako da konfigurišete vaš editor](/learn/editor-setup) |
| 17 | +* [Kako da instalirate React Developer tools](/learn/react-developer-tools) |
17 | 18 |
|
18 | 19 | </YouWillLearn>
|
19 | 20 |
|
20 |
| -## Try React {/*try-react*/} |
| 21 | +## Isprobajte React {/*try-react*/} |
21 | 22 |
|
22 |
| -You don't need to install anything to play with React. Try editing this sandbox! |
| 23 | +Ne morate ništa instalirati da bi ste se igrali sa React-om. Probajte da izmenite ovaj sandbox! |
23 | 24 |
|
24 | 25 | <Sandpack>
|
25 | 26 |
|
26 | 27 | ```js
|
27 | 28 | function Greeting({ name }) {
|
28 |
| - return <h1>Hello, {name}</h1>; |
| 29 | + return <h1>Zdravo, {name}</h1>; |
29 | 30 | }
|
30 | 31 |
|
31 | 32 | export default function App() {
|
32 |
| - return <Greeting name="world" /> |
| 33 | + return <Greeting name="svet" /> |
33 | 34 | }
|
34 | 35 | ```
|
35 | 36 |
|
36 | 37 | </Sandpack>
|
37 | 38 |
|
38 |
| -You can edit it directly or open it in a new tab by pressing the "Fork" button in the upper right corner. |
| 39 | +Možete ga direktno menjati ili otvoriti u novom tabu pritiskom na "Fork" dugme u gornjem desnom uglu. |
39 | 40 |
|
40 |
| -Most pages in the React documentation contain sandboxes like this. Outside of the React documentation, there are many online sandboxes that support React: for example, [CodeSandbox](https://codesandbox.io/s/new), [StackBlitz](https://stackblitz.com/fork/react), or [CodePen.](https://codepen.io/pen?&editors=0010&layout=left&prefill_data_id=3f4569d1-1b11-4bce-bd46-89090eed5ddb) |
| 41 | +Većina stranica u React dokumentaciji sadrži sandbokse kao ovaj. Van React dokumentacije, postoje mnogi online sandboksi koji podržavaju React: na primer, [CodeSandbox](https://codesandbox.io/s/new), [StackBlitz](https://stackblitz.com/fork/react), ili [CodePen.](https://codepen.io/pen?&editors=0010&layout=left&prefill_data_id=3f4569d1-1b11-4bce-bd46-89090eed5ddb) |
41 | 42 |
|
42 |
| -### Try React locally {/*try-react-locally*/} |
| 43 | +### Isprobajte React lokalno {/*try-react-locally*/} |
43 | 44 |
|
44 |
| -To try React locally on your computer, [download this HTML page.](https://gist.githubusercontent.com/gaearon/0275b1e1518599bbeafcde4722e79ed1/raw/db72dcbf3384ee1708c4a07d3be79860db04bff0/example.html) Open it in your editor and in your browser! |
| 45 | +Da isprobate React lokalno na vašem računaru, [preuzmite ovu HTML stranicu.](https://gist.githubusercontent.com/gaearon/0275b1e1518599bbeafcde4722e79ed1/raw/db72dcbf3384ee1708c4a07d3be79860db04bff0/example.html) Otvorite je u vašem editoru i u vašem pretraživaču! |
45 | 46 |
|
46 |
| -## Start a new React project {/*start-a-new-react-project*/} |
| 47 | +## Započnite novi React projekat {/*start-a-new-react-project*/} |
47 | 48 |
|
48 |
| -If you want to build an app or a website fully with React, [start a new React project.](/learn/start-a-new-react-project) |
| 49 | +Ako želite da napravite aplikaciju ili sajt koristeći samo React, [zapocnite novi React projekat.](/learn/start-a-new-react-project) |
49 | 50 |
|
50 |
| -## Add React to an existing project {/*add-react-to-an-existing-project*/} |
| 51 | +## Dodajte React u postojeći projekat {/*add-react-to-an-existing-project*/} |
51 | 52 |
|
52 |
| -If want to try using React in your existing app or a website, [add React to an existing project.](/learn/add-react-to-an-existing-project) |
| 53 | +Ako žeite da isprobate React u vašem postojećem sajtu ili aplikaciji, [dodajte React u postojeći projekat.](/learn/add-react-to-an-existing-project) |
53 | 54 |
|
54 |
| -## Next steps {/*next-steps*/} |
| 55 | +## Sledeći koraci {/*next-steps*/} |
55 | 56 |
|
56 |
| -Head to the [Quick Start](/learn) guide for a tour of the most important React concepts you will encounter every day. |
| 57 | +Idite na [Brzi Start](/learn) vodič za turu najvažnijih React koncepta sa kojima ćete se susretati svakodnevno. |
57 | 58 |
|
0 commit comments