Skip to content
source for the site testwebmonetization.com
Vue JavaScript HTML CSS
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
components
layouts
middleware
pages
plugins
static
store
.firebaserc
.gitignore
LICENSE
README.md
firebase.json
nuxt.config.js
package-lock.json
package.json

README.md

Test Web Monetization

A website dedicated to testing web monetization. It is running live at testwebmonetization.com.

The most interesting file here is the demo html page that contains a full implementation of the Web Monetization javascript API.

Regenerate bookmarklet (do this if you modify /static/bookmarklet/simulateMonetization.js:

npm i -g bookmarklet 

bookmarklet static/bookmarklet/simulateMonetization.js > static/bookmarklet/simulateBookmarklet.txt

bookmarklet static/bookmarklet/simulateMonetization.js > simulateBookmarklet.txt

The demo is built with Vue.js and Nuxt.

Build Setup

# install dependencies
$ npm run install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate

For detailed explanation on how things work, check out Nuxt.js docs.

You can’t perform that action at this time.