Skip to content

Commit 2f94cf3

Browse files
authored
Merge pull request #3 from sjrd/update-readme
Fix #2: Make the readme a bit clearer.
2 parents 8d03edd + a1f05a4 commit 2f94cf3

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ A [Vite](https://vitejs.dev/) plugin for [Scala.js](https://www.scala-js.org/).
55
## Usage
66

77
We assume that you have an existing Vite and Scala.js sbt project.
8-
If not, [follow the accompanying tutorial](https://github.com/scala-js/scala-js-website/pull/590).
8+
If not, [follow the accompanying tutorial](https://www.scala-js.org/doc/tutorial/scalajs-vite.html).
99

1010
Install the plugin as a development dependency:
1111

@@ -44,6 +44,13 @@ scalaJSLinkerConfig ~= {
4444
},
4545
```
4646

47+
In development mode, use two terminals in parallel:
48+
49+
* One with `$ npm run dev`.
50+
* One with `$ sbt '~fastLinkJS'` (or a more precise version such as `$ sbt '~theJSProject/fastLinkJS`).
51+
52+
For the production build, `$ npm run build` is enough.
53+
4754
## Configuration
4855

4956
The plugin supports the following configuration options:

0 commit comments

Comments
 (0)