Skip to content

Commit 7fd7575

Browse files
committed
docs
1 parent e56bb30 commit 7fd7575

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

site/docs/_docs/index.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,26 @@ git clone https://github.com/Quafadas/viteless.git && \
1212
cd viteless && \
1313
cs launch io.github.quafadas::sjsls:{{projectVersion}}
1414
```
15+
Note that to work, you need the following directives in scala-cli:
16+
17+
```scala
18+
//> using scala 3.7.0
19+
//> using platform js
20+
//> using jsModuleKind es
21+
//> using jsEmitSourceMaps true
22+
//> using jsModuleSplitStyleStr smallmodulesfor
23+
//> using jsSmallModuleForPackage boid
24+
25+
```
26+
1527

1628
## It worked... okay... I have 20 more seconds
1729

1830
Edit `hello.scala` and save the change. You should see the change refreshed in your browser.
1931

32+
33+
34+
2035
## Aw shoot - errors
2136

2237
The command above assumes you have coursier (as cs) and scala-cli installed and available on your path.

0 commit comments

Comments
 (0)