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
Let's answer the questions presented by the tool as follows:
21
+
22
+

23
+
24
+
We have now created an application named <i>part1</i>. The tool could have also installed the required dependencies and started the application automatically if we had answered "Yes" to the question "Install with npm and start now?" However, we will perform these steps manually so we can see how they are done.
25
+
26
+
Next, let's move into the application's directory and install the required libraries:
27
+
24
28
```bash
25
-
cdintrodemo
29
+
cdpart1
26
30
npm install
27
31
```
28
32
29
-
The application is started as follows
33
+
The application is started as follows:
30
34
31
35
```bash
32
36
npm run dev
@@ -87,7 +91,7 @@ By default, the file <i>index.html</i> doesn't contain any HTML markup that is v

23
+
24
+
Loimme siis <i>part1</i>-nimisen sovelluksen. Työkalu olisi voinut myös asentaa tarvittavat riippuvuudet ja käynnistää sen jälkeen sovelluksen automaattisesti, jos olisimme vastanneet myöntävästi kysymykseen "Install with npm and start now?" Teemme vaiheet nyt kuitenkin manuaalisesti, jotta pääsemme näkemään, miten ne tehdään.
25
+
26
+
Siirrytään sovelluksen sisältämään hakemistoon ja asennetaan sovelluksen käyttämät kirjastot:
15
27
16
28
```bash
17
-
npm create vite@latest part1 -- --template react
18
29
cd part1
19
30
npm install
20
31
```
@@ -79,7 +90,7 @@ Tiedosto <i>index.html</i> on headerin määrittelyjä lukuun ottamatta oleellis
0 commit comments