vue-fullpage.js报错:fullPage: Fullpage.js version 3 has changed its license to ....解决办法
问题:在Vue项目中npm安装并且配置fullpage之后,报错:fullPage: Fullpage.js version 3 has changed its license to GPLv3 and it requires a `licenseKey` option. Read aboutit here:描述:在正确安装fullpage.js(版本:fullPage 3.0.7 ...
问题:
在Vue项目中npm安装并且配置fullpage之后,报错:fullPage: Fullpage.js version 3 has changed its license to GPLv3 and it requires a `licenseKey` option. Read about it here:
描述:
在正确安装fullpage.js(版本:fullPage 3.0.7 - Extensions 0.1.8)之后,控制台提示:fullPage: Fullpage.js version 3 has changed its license to GPLv3 and it requires a `licenseKey` option. Read about it here:,经百度搜寻之后发现要么开源,要么购买key,但是实际上这个错误并不影响使用(实装的话个人觉得还是向开发者购买),而我仅学习之用,似乎有点浪费,而且,强迫症发作,想要去掉报错~
解决:
1.打开Vue项目,在文件夹:node_modules/vue-fullpage.js/dist下,打开文件:vue-fullpage.js文件;
2.command+f(ctrl+f),搜索关键字:function Dn,会发现这个函数所在的地方被编码过了,没事
3.将该函数内的这句话注销或者删除
function Dn(e,t){
// on.console&&on.console[e]&&on.console[e]("fullPage: "+t)
}
结果:
返回浏览器,发现控制台不再报错,功能测试似乎也无异常
更多推荐
所有评论(0)