Skip to content

Commit e4f752f

Browse files
committed
Revert file paths, clarifying directory structure instead.
1 parent 0492aca commit e4f752f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/guides/get-started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function component () {
4848
document.body.appendChild(component());
4949
```
5050

51-
To run this piece of code, one usually has the below HTML
51+
To run this piece of code, create an `index.html` file in the project's root.
5252

5353
__index.html__
5454

@@ -59,7 +59,7 @@ __index.html__
5959
<script src="https://unpkg.com/[email protected]"></script>
6060
</head>
6161
<body>
62-
<script src="../app/index.js"></script>
62+
<script src="app/index.js"></script>
6363
</body>
6464
</html>
6565
```
@@ -98,8 +98,8 @@ We also need to change `index.html` to expect a single bundled js file.
9898
- <script src="https://unpkg.com/[email protected]"></script>
9999
</head>
100100
<body>
101-
- <script src="../app/index.js"></script>
102-
+ <script src="../dist/bundle.js"></script>
101+
- <script src="app/index.js"></script>
102+
+ <script src="dist/bundle.js"></script>
103103
</body>
104104
</html>
105105
```

0 commit comments

Comments
 (0)