Closed weotch closed 6 years ago
This adds support for nuxt geneate and mode: spa, where there isn't a web server running. Instead of adding a middleware, it writes the robots.txt to the static directory, whereupon it gets copied into dist during build or generate.
nuxt geneate
mode: spa
static
dist
build
generate
@weotch Thanks for your PR!
This adds support for
nuxt geneate
andmode: spa
, where there isn't a web server running. Instead of adding a middleware, it writes the robots.txt to thestatic
directory, whereupon it gets copied intodist
duringbuild
orgenerate
.