ITPub博客

首页 > IT职业 > > 为什么引入bootstrap没效果?

为什么引入bootstrap没效果?

作者:highhand 时间:2019-04-12 18:20:17 0 删除 编辑
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.css">
</head>
<body>
  <div id="app">
      <nav class="navbar navbar-inverse">
          <div class="container-fluid">
              <div class="navbar-header">
                  <a class="navbar-brand" href="#">
                      ToDoList
                  </a>
              </div>
          </div>
      </nav>
  </div>
  <script src="node_modules/axios/dist/axios.js"></script>
<script src="node_modules/vue/dist/vue.js"></script>
 
</body>
</html>

bootstrap有通过安装到本地,跟着视频中的老师到bootstrap官网上复制导航条代码,但没有效果,请问下什么原因?

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/810/viewspace-3156983/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2015-11-11

  • 博文量
    1479
  • 访问量
    30528