Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove `_robots.txt from emitted files #151

Open
harlan-zw opened this issue Oct 16, 2024 · 1 comment
Open

Remove `_robots.txt from emitted files #151

harlan-zw opened this issue Oct 16, 2024 · 1 comment

Comments

@harlan-zw
Copy link
Contributor

harlan-zw commented Oct 16, 2024

When using a _robots.txt in the public dir to configure the robot rules, it should not be emitted in the final bundle.

The workaround is to use the assets or root dir to configure.

@MickL
Copy link

MickL commented Mar 13, 2025

I just realized that create-nuxt creates an empty _robots.txt which leads to problems within nuxt-seo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants