簡體   English   中英

Fullcalendar popover 錯誤:Bootstrap 工具提示需要 Popper.js 雖然這已經包含在內

[英]Fullcalendar popover error: Bootstrap tooltips require Popper.js although this is already included

我正在嘗試在我的 codeignitor 應用程序中將彈出窗口添加到我的全日歷,但是,盡管提到的庫已經明確包含,但我仍然收到以下錯誤:Bootstrap 工具提示需要 Popper.js。

這是我的 JavaScript 庫的順序:

  <!-- JS Libs -->

    <script src="https://code.jquery.com/jquery-3.3.1.js" integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60=" crossorigin="anonymous"></script
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js" integrity="sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm" crossorigin="anonymous"></script>
    <script type="text/javascript" src="<?php echo base_url('assets/js/moment.js')?>"></script>
    <script type="text/javascript" src="<?php echo base_url('assets/fullcalendar-3.9.0/fullcalendar.js')?>"></script>

這是我的日歷配置中的相關部分

 eventRender: function(eventObj, $el) { $el.popover({ title: eventObj.title, content: eventObj.description, trigger: 'hover', placement: 'top', container: 'body' });

您似乎忘記正確關閉第一個腳本。

<script src="https://code.jquery.com/jquery-3.3.1.js" integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60=" crossorigin="anonymous"></script>

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM