This tutorial is good, but I think it is a bit limited even for a tutorial. A typical Scala.js application is full stack (both frontend and backend), with the backend serving the front-end. It is not clear to me how to integrate Vite into this.
I can create a simple application skeleton in SBT which will take care of packaging the Scala.js result into the server app, this is something I have done several times, but I do not know how would I use Vite from SBT to do its work.
This tutorial is good, but I think it is a bit limited even for a tutorial. A typical Scala.js application is full stack (both frontend and backend), with the backend serving the front-end. It is not clear to me how to integrate Vite into this.
I can create a simple application skeleton in SBT which will take care of packaging the Scala.js result into the server app, this is something I have done several times, but I do not know how would I use Vite from SBT to do its work.