File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ function component () {
48
48
document .body .appendChild (component ());
49
49
```
50
50
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.
52
52
53
53
__ index.html__
54
54
@@ -59,7 +59,7 @@ __index.html__
59
59
<
script src =
" https://unpkg.com/[email protected] " ></
script >
60
60
</head >
61
61
<body >
62
- <script src =" ../ app/index.js" ></script >
62
+ <script src =" app/index.js" ></script >
63
63
</body >
64
64
</html >
65
65
```
@@ -98,8 +98,8 @@ We also need to change `index.html` to expect a single bundled js file.
98
98
- <script src="https://unpkg.com/[email protected] "></script>
99
99
</head>
100
100
<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>
103
103
</body>
104
104
</html>
105
105
```
You can’t perform that action at this time.
0 commit comments