@itsmatteomanf/astro-early-hints
v0.3.3
Published
Generates Link tags for your Astro site
Downloads
230
Maintainers
Readme
@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 [email protected]
or higher.
Installation
Install the integration automatically using the Astro CLI:
pnpm astro add @itsmatteomanf/astro-early-hints
npx astro add @itsmatteomanf/astro-early-hints
yarn astro add @itsmatteomanf/astro-early-hints
Or install it manually:
- Install the required dependencies
pnpm add @itsmatteomanf/astro-early-hints
npm install @itsmatteomanf/astro-early-hints
yarn 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.