[Vuejs]-Why is my computed method running both server and client side?

0👍

I got the following answer from the Nuxt discord

computed: {
  something() {
    return !process.client ? 'runs on server' : ''
  }
}

Leave a comment