Skip to content
This repository was archived by the owner on May 17, 2023. It is now read-only.

Commit d6105e7

Browse files
Update 02_Setting_up.md
1 parent 9b3e2c7 commit d6105e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Building Web Applications with React and Kotlin JS/02_Setting_up.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Because we can't run JavaScript out of nowhere, we also need an HTML page to ins
6767
</html>
6868
```
6969

70-
Depending on how we named our project, the embedded `js` file has a different name. So, if you're working in a project named `followingAlong`, make sure to embed `followingAlong.js`. Thanks to the Gradle plugin, all of our code and dependencies will be bundled up into this single JavaScript artifact that bears the same name as our project.
70+
As you can see, we're embedding a JavaScript file called `confexplorer.js`. This is because the Kotlin/JS Gradle plugin will bundle all of our code and its dependencies into a single JavaScript file, which has the same name as our project. (That also means that if you're working in a project you've named `followingAlong`, you need to make sure to embed `followingAlong.js` instead.)
7171

7272
Now, before we write a proper "Hello, World" with actual markup, we start with a very simple and visual example – a solid colored page. This is just to verify that what we're building is actually reaching the browser and executes fine. For this, we have the file `src/main/kotlin/Main.kt`, filled with the following code snippet:
7373

0 commit comments

Comments
 (0)