0

I'm facing an issue with nuxt 3 where when I deployed my website using SSG, the first route which is the index route loaded 2 components so for example if I had index.vue like this

<template>
<Component1 />
<Component2 />
</template>

it would show like this

<template>
<Component1 />
<Component1 />
<Component2 />
<Component2 />
</template>

and this only applies to the main route (/) and when I switch to any other route then come back the problem seems to be fixed but when I refresh it always generates double components.

kissu
  • 40,416
  • 14
  • 65
  • 133
Termin
  • 159
  • 2
  • 8

0 Answers0