spekulatius / vuepress-plugin-web-monetization

Adds the web-monetization metatag to your VuePress website

Home Page:https://peterthaleikis.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VuePress Plugin Web-Monetization

Adds a web-monetization meta tag to your VuePress website. This allows you to monetize your content using the web-monetization standard.

Installation

npm install vuepress-plugin-web-monetization

# or

yarn add vuepress-plugin-web-monetization

Usage

You will need to register the plugin with your VuePress website:

plugins: {
    'web-monetization': {
        'address': '$ilp.uphold.com/DrRw6MnEEqBB'
    }
}

This includes the address as an optional parameter (here: $ilp.uphold.com/DrRw6MnEEqBB). You can also define the address as part of the frontmatter:

---
monetization: "$ilp.uphold.com/DrRw6MnEEqBB"
---

Privacy-friendly tracking for VuePress?

If you value privacy, you might like this VuePress plugin for Umami.

License

This package is released under the MIT license by Peter Thaleikis.

About

Adds the web-monetization metatag to your VuePress website

https://peterthaleikis.com

License:MIT License


Languages

Language:JavaScript 100.0%