@itsmatteomanf/astro-early-hints

0.3.3 • Public • Published

@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-hints
npx astro add @itsmatteomanf/astro-early-hints
yarn astro add @itsmatteomanf/astro-early-hints

Or install it manually:

  1. Install the required dependencies
pnpm add @itsmatteomanf/astro-early-hints
npm install @itsmatteomanf/astro-early-hints
yarn add @itsmatteomanf/astro-early-hints
  1. 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.

Package Sidebar

Install

npm i @itsmatteomanf/astro-early-hints

Weekly Downloads

61

Version

0.3.3

License

MIT

Unpacked Size

9.5 kB

Total Files

9

Last publish

Collaborators

  • itsmatteomanf