Nuxt.js: robots.txt?

Created on 15 Jul 2017  路  3Comments  路  Source: nuxt/nuxt.js

my site root dir is /dist
when i run generate,
robots.txt will be delete...

so, how can i do?

This question is available on Nuxt.js community (#c949)

Most helpful comment

As said in Getting Started Doc. - put it in the static folder.

Example: /static/robots.txt is mapped as /robots.txt

All 3 comments

As said in Getting Started Doc. - put it in the static folder.

Example: /static/robots.txt is mapped as /robots.txt

@xerq

cool ~ !

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

o-alexandrov picture o-alexandrov  路  3Comments

bimohxh picture bimohxh  路  3Comments

vadimsg picture vadimsg  路  3Comments

gary149 picture gary149  路  3Comments

maicong picture maicong  路  3Comments