diff --git a/doc/tutorial/scalajs-vite.md b/doc/tutorial/scalajs-vite.md index b8ac271..addeeac 100644 --- a/doc/tutorial/scalajs-vite.md +++ b/doc/tutorial/scalajs-vite.md @@ -22,7 +22,7 @@ We bootstrap our setup using the vanilla Vite template. Navigate to a directory where you store projects, and run the command {% highlight shell %} -$ npm create vite@4.1.0 +$ npm create vite@6.5.0 {% endhighlight %} Choose a project name (we choose `livechart`). @@ -30,9 +30,9 @@ Select the "Vanilla" framework and the "JavaScript" variant. Our output gives: {% highlight shell %} -$ npm create vite@4.1.0 +$ npm create vite@6.5.0 Need to install the following packages: - create-vite@4.1.0 + create-vite@6.5.0 Ok to proceed? (y) ✔ Project name: … livechart ✔ Select a framework: › Vanilla @@ -55,11 +55,11 @@ $ npm install [...] $ npm run dev - VITE v4.1.4 ready in 156 ms + VITE v6.3.5 ready in 156 ms ➜ Local: http://localhost:5173/ ➜ Network: use --host to expose - ➜ press h to show help + ➜ press h + enter to show help {% endhighlight %} Open the provided URL to see the running JavaScript-based hello world. @@ -69,12 +69,12 @@ Open the provided URL to see the running JavaScript-based hello world. In the generated folder, we find the following relevant files: * `index.html`: the main web page; it contains a `