Skip to content

spekulatius/vuepress-plugin-web-monetization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.