1.0.0 • Published 4 years ago
vuepress-plugin-sponsor v1.0.0
How To Use?
Add an array/object to the config.js(./vuepress/config.js) plugins array/object. Examples are as follows.
Babel Style
module.exports = {
plugins: [
[
'vuepress-plugin-sponsor',
{
theme: 'simple',
alipay: '/sponsor-qrcode/qrcode-alipay.png',
wechat: '/sponsor-qrcode/qrcode-wechat.png',
qq: '/sponsor-qrcode/qrcode-qq.png',
paypal: 'https://www.paypal.me/yokefellow',
duration: 2000
}
]
]
}
Object Style
module.exports = {
plugins: {
'vuepress-plugin-sponsor': {
theme: 'simple',
alipay: '/sponsor-qrcode/qrcode-alipay.png',
wechat: '/sponsor-qrcode/qrcode-wechat.png',
qq: '/sponsor-qrcode/qrcode-qq.png',
paypal: 'https://www.paypal.me/yokefellow',
duration: 2000
}
}
}
1.0.0
4 years ago