@itsmatteomanf/astro-robots-txt
v0.2.0
Published
Generate a robots.txt file for your Astro site
Maintainers
Readme
@itsmatteomanf/astro-robots-txt
This is an Astro integration that allows you to easily add a robots.txt file to your Astro site.
Usage
Prerequisites
You need to be using [email protected] or higher.
Installation
Install the integration automatically using the Astro CLI:
pnpm astro add @itsmatteomanf/astro-robots-txtnpx astro add @itsmatteomanf/astro-robots-txtyarn astro add @itsmatteomanf/astro-robots-txtOr install it manually:
- Install the required dependencies
pnpm add @itsmatteomanf/astro-robots-txtnpm install @itsmatteomanf/astro-robots-txtyarn add @itsmatteomanf/astro-robots-txt- Add the integration to your astro config
+import robotsTxt from "@itsmatteomanf/astro-robots-txt";
export default defineConfig({
integrations: [
+ robotsTxt(),
],
});Configuration
TODO
Licensing
MIT Licensed. Made with ❤️ by Matteo Manfredi.
