zoukankan      html  css  js  c++  java
  • fullpage.js报如下错误的解决办法

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

    解决办法:

    fullpage.js文件中查找licenseKey,删除如下代码(查找快捷键 ctrl+F)

    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 if也删掉,变成如下代码
    if(l && l.length < 20){
      console.warn('%c This website was made using fullPage.js slider. More info on the following website:', msgStyle);
      console.warn('%c https://alvarotrigo.com/fullPage/', msgStyle);
    }

     
  • 相关阅读:
    python 文件 笔记
    python 模块、包 笔记
    类、对象
    python 函数 笔记
    测试价值体现
    断舍离-笔记2
    Happy 2006 POJ
    Triangle War POJ
    Complete the sequence! POJ
    放苹果 POJ
  • 原文地址:https://www.cnblogs.com/hou-yuan-zhen/p/11601686.html
Copyright © 2011-2022 走看看