feat: render app shell with ssr to improve loading experience (#448)
This commit is contained in:
parent
b545efeacc
commit
9395b7031e
35 changed files with 169 additions and 127 deletions
|
@ -1,4 +1,6 @@
|
|||
export default defineNuxtRouteMiddleware((to) => {
|
||||
if (process.server)
|
||||
return
|
||||
if (!currentUser.value)
|
||||
return navigateTo(`/${currentServer.value}/public`)
|
||||
if (to.path === '/')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue