Running code at runtime only - Nuxt