We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
scalajs:main.js
1 parent a7f2526 commit 05ebc71Copy full SHA for 05ebc71
doc/tutorial/scalajs-vite.md
@@ -270,6 +270,8 @@ import './style.css'
270
import 'scalajs:main.js'
271
{% endhighlight %}
272
273
+When we `import` a URI starting with `scalajs:`, `vite-plugin-scalajs` resolves it to point to the output directory of Scala.js' `fastLinkJS` task.
274
+
275
You may have to stop and restart the `npm run dev` process, so that Vite picks up the newly created configuration file.
276
Vite will refresh the browser with our updated "Hello Scala.js!" message.
277
0 commit comments