AdminLTE的侧边栏没有效果是怎么回事?

AdminLTE的侧边栏的效果无法显示

我试过改class名,添加点击事件都无法得到官网的效果

相关代码

        <a href="../index2.html" class="logo">
            <span class="logo-mini">A</span>
            <span class="logo-lg">B</span>
          </a>
        <nav class="navbar navbar-static-top" role="navigation">
            <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
                <span class="sr-only">Toggle navigation</span>
            </a>
        </nav>
    </header>
    <aside class="main-sidebar">
        <section class="sidebar" style="height: auto;">
            <ul class="sidebar-menu" data-widget="tree">
              <li class="header">导航</li>
              <li class="active treeview">
                <a href="#">
                  <i class="fa fa-dashboard"></i> <span>Dashboard</span>
                  <span class="pull-right-container">
                    <i class="fa fa-angle-left pull-right"></i>
                  </span>
                </a>
                <ul class="treeview-menu">
                  <li><a href="#"><i class="fa fa-circle-o"></i> Dashboard v1</a></li class="active">
                  <li><a href="#"><i class="fa fa-circle-o"></i> Dashboard v2</a></li>
                </ul>
              </li>
              <li class="treeview">
                <a href="#">
                  <i class="fa fa-th"></i> <span>Widgets</span>
                  <span class="pull-right-container">
                    <small class="label pull-right bg-green">new</small>
                  </span>
                </a>
              </li>
            </ul>
        </section>
    </aside>

是不是要先初始化啊?可是app.js我下载回来没有啊?官网上都没有看见。本人刚接触AdminLTE,小白不懂,求兄弟路过指点迷津。

待解决 悬赏分:40 - 离问题结束还有 349天18小时11分2秒
反对 0举报 0 收藏 0

我来回答

回答0