Angular-4 min.js / .js文件未加载

时间:2017-08-15 11:56:23

标签: javascript jquery angular

我正在尝试在角度4中使用js并且我复制/过去资产文件夹中的所有必需的js文件但是min.js文件在js文件下,我不知道为什么?所以我的脚本加载失败并且进度条不起作用,浏览器控制台上没有错误,有人可以告诉你做什么吗? 这是index.html代码

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>RevDashboard</title>
  <base href="/">

  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <!-- Meta, title, CSS, favicons, etc. -->

  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <title>Reviews AI! | </title>

  <!-- Bootstrap -->
  <link href="assets/vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
  <!-- Font Awesome -->
  <link href="assets/vendors/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  <!-- NProgress -->
  <link href="assets/vendors/nprogress/nprogress.css" rel="stylesheet">
  <!-- iCheck -->
  <link href="assets/vendors/iCheck/skins/flat/green.css" rel="stylesheet">

  <!-- Custom Theme Style -->
  <link href="assets/build/css/custom.min.css" rel="stylesheet">


</head>
<body class="nav-md">
  <app-root></app-root>
  <!-- jQuery -->
  <script src="assets/vendors/jquery/dist/jquery.min.js"></script>
  <!-- Bootstrap -->
  <script src="assets/vendors/bootstrap/dist/js/bootstrap.min.js"></script>
  <!-- FastClick -->
  <script src="assets/vendors/fastclick/lib/fastclick.js"></script>
  <!-- NProgress -->
  <script src="assets/vendors/nprogress/nprogress.js"></script>
  <!-- bootstrap-progressbar -->
  <script src="assets/vendors/bootstrap-progressbar/bootstrap-progressbar.min.js"></script>

  <!-- Custom Theme Scripts -->
  <script src="assets/build/js/custom.min.js"></script>
</body>
</html>

以下是我使用进度条的代码

<td class="project_progress">
 <div class="progress progress_sm">
 <div class="progress-bar bg-green" role="progressbar" data-transitiongoal="57"></div>
 </div>
 <small>57% Complete</small>

有文件的图像: enter image description here

这是页面图片 enter image description here

0 个答案:

没有答案