message: fix: add mixin only on client
diff: @@ -479,11 +479,12 @@ function applyRouterPlugin(app: App, router: Router) {
  let started = false
  // TODO: can we use something that isn't a mixin?
  + // TODO: this initial navigation is only necessary on client, on server it doesn't make sense
  + // because it will create an extra unecessary navigation and could lead to problems
  + if (isClient)
  app.mixin({
  beforeCreate() {
  if (!started) {
  - // TODO: this initial navigation is only necessary on client, on server it doesn't make sense
  - // because it will create an extra unecessary navigation and could lead to problems
  router.push(router.history.location.fullPath).catch(err => {
  console.error('Unhandled error', err)
  })
  