Skip to content

spekulatius/vuepress-plugin-web-monetization

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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.