martmists
09/06/2022, 8:54 AMAugust Lilleaas
09/06/2022, 9:13 AMstatic
route, and include the file in your HTML served from KtorAleksei Tirman [JB]
09/06/2022, 9:29 AMmartmists
09/06/2022, 9:57 AMAugust Lilleaas
09/06/2022, 9:57 AMmartmists
09/06/2022, 9:58 AMAugust Lilleaas
09/06/2022, 9:58 AMstatic
route to make the file available to be loaded from a <script> tagmartmists
09/06/2022, 10:00 AMAugust Lilleaas
09/06/2022, 10:00 AMmartmists
09/06/2022, 10:05 AMI suppose singlePageApplication also sets up a catch-all route that is served for all URLs etc, so maybe it’s a good idea to use it. And then also add a static route to serve the jsHmm, that's not really desired, as different pages have different permissions and contents, so I'll just look into the vue stuff instead, though it seems to only generate a single file from what I can tell rather than one for each vue file.
August Lilleaas
09/06/2022, 10:10 AMAleksei Tirman [JB]
09/06/2022, 10:35 AMAugust Lilleaas
09/06/2022, 11:06 AMmartmists
09/06/2022, 8:36 PMso it’s not really a single page app, then?The main problem is that all our backend devs want to work with kotlin/ktor and implement the frontend with pebble templates, but the frontend devs want to work with vue. I assumed a single-page-application was just a vue rendered page, is it not? I also haven't seen of a way to pass data to the vue templates for rendering, so that's something to look into as well.
napperley
09/06/2022, 11:31 PMmartmists
09/07/2022, 12:02 AMAugust Lilleaas
09/07/2022, 6:57 AMmartmists
09/14/2022, 2:51 PMnapperley
09/15/2022, 1:26 AMmartmists
09/15/2022, 11:59 AMnapperley
09/15/2022, 11:52 PMAugust Lilleaas
09/16/2022, 7:25 AM