uniapp导入微信jssdk实现微信扫一扫的功能,导入jssdk失败?

步骤:(看网上整的)
1. 安装 npm install jweixin-module --save
2.导入
let jweixin = require('jweixin-module')

Vue.prototype.$wx = jweixin
此时报错 undefined is not an object (evaluating 'o.jWeixin')
跪求大佬解答QAQ

https://www.cnblogs.com/niceyoo/p/12232641.html