0.4.1 • Published 8 months ago
@itsmatteomanf/astro-early-hints v0.4.1
@itsmatteomanf/astro-early-hints
This is an Astro integration that provides a way to add link tags for all CSS and JS modules that Astro automatically adds in each page.
Usage
Prerequisites
The only prerequisite is using astro@4.0.0 or higher.
Installation
Install the integration automatically using the Astro CLI:
pnpm astro add @itsmatteomanf/astro-early-hintsnpx astro add @itsmatteomanf/astro-early-hintsyarn astro add @itsmatteomanf/astro-early-hintsOr install it manually:
- Install the required dependencies
 
pnpm add @itsmatteomanf/astro-early-hintsnpm install @itsmatteomanf/astro-early-hintsyarn add @itsmatteomanf/astro-early-hints- Add the integration to your astro config
 
+import earlyHints from "@itsmatteomanf/astro-early-hints";
export default defineConfig({
  integrations: [
+    earlyHints(),
  ],
});Configuration
No configuration is necessary or exists.
Licensing
MIT Licensed. Made with ❤️ by Matteo Manfredi.