vueuse/head

Title is not in the html file when using `nuxi generate`

Closed this issue · 2 comments

When i set the head via

    <Head>
      <Title>Test</Title>
    </Head>

or

<script setup lang="ts">
const { t } = useI18n();
useHead({
  title: "test",
});
</script>

the generated html file via nuxi generate has no title.
When the user opens the html file it shows the correct title. but isnt this bad for bots? When they dont render js they cant grab the title.

Hey @DaniGTA

Are you generating as a SPA? If so this is a known issue and may be fixed soon

Should be fixed in the edge channel nuxt/framework#8975