Hello World - Astro-Hashnode
Adam Matthiesen .
March 11, 2024 . 1 min read
An Integration as come to life!
Have you been looking for a way to setup Hashnode with an Astro frontend? Want to hit those Lighthouse page scores of 100%? It's time to move to Astro!
Getting Started with Astro-Hashnode
An Integration to bring your Hashnode Headless Blog content into Astro!
Installation
Run one of the following to add Astro-Hashnode to your Astro Project
pnpm astro add @matthiesenxyz/astro-hashnode
npm astro add @matthiesenxyz/astro-hashnode
yarn astro add @matthiesenxyz/astro-hashnode
Or if you'd rather do it manually do the following
pnpm add @matthiesenxyz/astro-hashnode
npm install @matthiesenxyz/astro-hashnode
yarn add @matthiesenxyz/astro-hashnode
Then Update your astro.config
+import astroHashnode from "@matthiesenxyz/astro-hashnode";
export default defineConfig({
integrations: [
+ astroHashnode({
+ hashnodeURL: 'your.hashnode.url'
}),
],
});