robots.txt missing in /public (Nuxt)
What this means
Section titled “What this means”Nuxt serves static assets from /public. Without public/robots.txt (and no @nuxtjs/robots module installed), no /robots.txt is served. Crawlers have no guidance on what to index.
How to fix it
Section titled “How to fix it”The simplest option is a static file.
User-agent: *Allow: /
Sitemap: https://example.com/sitemap.xmlFor more control — environment-aware rules, automatic sitemap registration — use @nuxtjs/robots.
npm install @nuxtjs/robotsexport default defineNuxtConfig({ modules: ['@nuxtjs/robots'], robots: { groups: [ { userAgent: ['*'], allow: ['/'], }, ], sitemap: 'https://example.com/sitemap.xml', },})Verify the fix
Section titled “Verify the fix”curl -I https://yourdomain.com/robots.txtConfirm the response is 200 OK. Then re-run orino audit.