astro-hashnode/package
dependabot[bot] 86f39fd5aa
Bump the prod-dependencies group with 4 updates
Bumps the prod-dependencies group with 4 updates: [@tailwindcss/vite](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-vite), [astro-font](https://github.com/rishi-raj-jain/astro-font), [tailwindcss](https://github.com/tailwindlabs/tailwindcss) and [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro).


Updates `@tailwindcss/vite` from 4.0.0-alpha.8 to 4.0.0-alpha.9
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/HEAD/packages/@tailwindcss-vite)

Updates `astro-font` from 0.0.77 to 0.0.78
- [Release notes](https://github.com/rishi-raj-jain/astro-font/releases)
- [Commits](https://github.com/rishi-raj-jain/astro-font/commits)

Updates `tailwindcss` from 4.0.0-alpha.8 to 4.0.0-alpha.9
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits)

Updates `astro` from 4.5.2 to 4.5.5
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/astro@4.5.5/packages/astro)

---
updated-dependencies:
- dependency-name: "@tailwindcss/vite"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-dependencies
- dependency-name: astro-font
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-dependencies
- dependency-name: tailwindcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-dependencies
- dependency-name: astro
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 09:46:01 +00:00
..
src fix: 🐛 need new fallback for ogImage (#25) 2024-03-16 11:05:57 -07:00
CHANGELOG.md Chore: Ready for Release (#26) 2024-03-16 11:07:39 -07:00
LICENSE add Astro Hashnode integration and dependencies 2024-03-11 05:56:23 -07:00
README.md Update README.md (#20) 2024-03-15 12:32:17 -07:00
package.json Bump the prod-dependencies group with 4 updates 2024-03-18 09:46:01 +00:00
tsconfig.json add Astro Hashnode integration and dependencies 2024-03-11 05:56:23 -07:00
virtual.d.ts add Astro Hashnode integration and dependencies 2024-03-11 05:56:23 -07:00

README.md

Astro Hashnode

An Integration to bring your Hashnode Headless Blog content into Astro!

Installation

Install the integration automatically using the Astro CLI:

pnpm astro add @matthiesenxyz/astro-hashnode
npx astro add @matthiesenxyz/astro-hashnode
yarn astro add @matthiesenxyz/astro-hashnode

Or install it manually:

  1. Install the required dependencies
pnpm add @matthiesenxyz/astro-hashnode
npm install @matthiesenxyz/astro-hashnode
yarn add @matthiesenxyz/astro-hashnode
  1. Add the integration to your astro config
+import astroHashnode from "@matthiesenxyz/astro-hashnode";

export default defineConfig({
  integrations: [
+   astroHashnode({
+      hashnodeURL: 'astroplayground.hashnode.dev'
    }),
  ],
});

Full Configuration Options

astroHashnode({
  hashnodeURL: 'astroplayground.hashnode.dev', // Your hashnode URL
  landingPage: true, // Lets you disable the default landing page!
  useViewTransitions: true, // Lets you enable/disable the default included ViewTransitions.
  layoutComponent: './src/layouts/YourLayout.astro' // Lets you change the default Layout.astro being used by the Integration Pages.
  verbose: false // Change to Verbose console output
})

Node: This Integration uses the new Tailwind v4 There is no config options in this version of tailwindCSS, and applyBaseStyles is enabled! So if you are building your own LayoutComponent feel free to use TailwindCSS!

Licensing

MIT Licensed. Made with ❤️ by Adam M..

Acknowledgements