79159414

Date: 2024-11-05 14:08:32
Score: 1
Natty:
Report link

If you want to set the id of your body globally, your nuxt.config.ts should look something like this.

export default defineNuxtConfig({
  app: {
    head: {
      bodyAttrs: {
        id: 'your-body-id',  // Replace with your desired ID
      }
    }
  }
})
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Paul