fullpage.js开发报错

**

当引入fullpage进行开发时,控制台会报错 ,但是功能没有影响

**

fullPage: Fullpage.js version 3 has changed its license to GPLv3 and it requires a `licenseKey` option. Read about it here:

想要解决这个问题很简单,如下

在fullpage.js文件中查找licenseKey,删除如下代码

if(!isOK){
  showError('error', 'Fullpage.js version 3 has changed its license to GPLv3 and it requires a `licenseKey` option. Read about it here:');
  showError('error', 'https://github.com/alvarotrigo/fullPage.js#options.');
}

注意 :也要将下一行的else 耶删除掉
最终呈现效果如图

你可能感兴趣的:(web前端开发)