jadepress-plugin-qr
jade-press plugin which add qrcode api /qr?text={text}
use
//in jade-press config.jsexportssetting = //... plugins: 'jadepress-plugin-qr': '*' //...
then install
gulp install
test
#for mongodb driver ubuntu (optional) #sudo apt-get install libkrb5-dev #or visit https://github.com/mongodb/node-mongodb-native#troubleshooting for more #for canvas ubuntu (optional) #sudo apt-get install libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++ #visit https://www.npmjs.com/package/canvas for more platform #makesure your mongodb service is running git clone https://github.com/jade-press/jadepress-plugin-qr.gitcd jadepress-plugin-qrnpm install node-gyp -gnpm install mocha -gnpm install bower -gnpm installbower installnpm i jadepress-theme-pimkdir node_modules/jadepress-plugin-qrcp -r plugins node_modules/jadepress-plugin-qr/ # if edit file, run "gulp watch" npm run test # if npm install failed