crybapp / web

Main web client for Cryb
MIT License
45 stars 14 forks source link

SPA/static support #102

Closed JeDaYoshi closed 4 years ago

JeDaYoshi commented 4 years ago

This changes how @cryb/web rendering works. As of now, it has been done using Server-Side Rendering, and since we have seen that switching to Single Page Application rendering won't hurt but more than enhance things performance-side and preventing some issues, while even allowing to host this as a static page, this will be the default from now on.

Plus this, includes a few changes that I was doing before:

Seems to work fine Forgot to fix this, but other than that it works, but extra testing is appreciated.

I'm also thinking of changing some other things, but that'd be for later changes.

JeDaYoshi commented 4 years ago

We'd need to add later documentation so people know how to do the invite thing if they want to use a static-generated site, but it's something pretty simple and common. No extra steps to do when running Nuxt.js built-in server, though.