我在这里要做的是使nuxt.js或vue.js生成robots.txt和sitemap.xml,它们可以从外部api提取每个文件中的数据。
在Nuxt上,您可以使用这两个模块动态生成您的 .bss (NOLOAD) : ALIGN(16) { __bss_start = . *(.bss) *(.bss.*) . = ALIGN(4); __bss_end = . } 和robots.txt
.bss (NOLOAD) : ALIGN(16) { __bss_start = . *(.bss) *(.bss.*) . = ALIGN(4); __bss_end = . }
robots.txt