0.1.1 • Published 5 months ago
astro-monetization v0.1.1
🚀 Astro Monetization
This Astro component makes it easy to add monetization tag that is used to monetize your web pages.
Pull requests and/or feature requests are very welcome!
How to run the extension
- Clone the repository
- Run
npm install
- Run
npm run dev
- Open the url
http://localhost:3000/monetizationTags
Installation (Yet to be published)
To install Astro Monetization, run the following command in your terminal:
npm install astro-monetization
or if you use yarn:
yarn add astro-monetization
How To Use
In any of your Astro pages, import Astro SEO and then use the component inside
the <head>
section of your HTML:
---
import { MONETIZATION } from "astro-monetization";
---
<html lang="en">
<head>
<MONETIZATION pointer="$ilp.rafiki.money/isantoshv" />
// ... rest of
</head>
<body> // ... body</body>
</html>
Supported Props
Propname | Type | Description |
---|---|---|
pointer | string | Your payment pointer |
Acknowledgements
Astro Monetization is heavily inspired by Astro SEO
0.1.1
5 months ago