robots icon indicating copy to clipboard operation
robots copied to clipboard

Remove `_robots.txt` from emitted files

Open harlan-zw opened this issue 1 year ago • 1 comments

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.

harlan-zw avatar Oct 16 '24 07:10 harlan-zw

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

MickL avatar Mar 13 '25 12:03 MickL