question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

useMeta and Dynamic Meta no longer working starting with: 3.0.0-27415318.ef69e74

See original GitHub issue

Environment


  • Operating System: Darwin
  • Node Version: v17.4.0
  • Nuxt Version: 3.0.0-27415318.ef69e74
  • Package Manager: yarn@1.22.17
  • Bundler: Vite
  • User Config: ssr, publicRuntimeConfig, css, vite, buildModules, intlify
  • Runtime Modules: -
  • Build Modules: @intlify/nuxt3@0.1.10

Reproduction

set devDependencies to "nuxt3": "latest" or "nuxt3":"3.0.0-27415318.ef69e74" start application all meta related entries in the application no longer have any effect. setting "nuxt3":"3.0.0-27414150.3589a2d" in package.json restores the functionality.

eg.

<script setup>
useMeta({
  title: 'My Website'
})
</script>

does not set the Title to ‘My Website’

Describe the bug

As described in the reproduction. No errors are shown, it is just not parsing any of the meta. The dynamic meta also stops working <Html> <Head> <Link> <Style> etc.

Additional context

No response

Logs

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
danielroecommented, Feb 16, 2022

Might be worth running npx nuxi@latest upgrade and, if that fails to resolve the issue, npx nuxi@latest upgrade --force.

I’m happy for this to be left open until you have a reproduction.

0reactions
i07commented, Feb 17, 2022

can confirm this also fixes it for my project, thanks for fixing this so quickly ❤️

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found