Bootstrap-Vue 坏了吗? [英] Is Bootstrap-Vue broken?
问题描述
这是我最后一个问题的后续问题,我再次尝试让 Vue 和 Bootstrap 在 Node.js 之上的简约设置中工作.为此,我没有使用任何包管理器或 CDN,而是在网页旁边提供了所有必需的文件.
现在,我将 Bootstrap-Vue 库与 Vue 结合使用,而不是使用 Bootsrap 和 Vue,但无论如何我都没有让它工作.所有 Bootstrap-Vue 元素都只会显示为纯文本,所以我开始工作,直到我有可以想象到的最简单的设置:
<html lang="zh-cn"><头><title>索引</title><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1,shrink-to-fit=no"><link type="text/css" rel="stylesheet" href="https://unpkg.com/bootstrap@next/dist/css/bootstrap.min.css"/><link type="text/css" rel="stylesheet" href="https://unpkg.com/bootstrap-vue@latest/dist/bootstrap-vue.css"/>头部><身体><div class="text-center my-3"><b-btn v-b-popover.hover="'我是弹窗内容!'" title="弹窗标题">悬停在我身上</b-btn>
<script src="https://unpkg.com/vue"></script><script src="https://unpkg.com/babel-polyfill@latest/dist/polyfill.min.js"></script><script src="https://unpkg.com/bootstrap-vue@latest/dist/bootstrap-vue.js"></script>