themefisher / sleek-bootstrap

Sleek Dashboard - Free Bootstrap Admin Template and UI Kit

Home Page:https://themefisher.com/products/sleek

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sleek-dashboard js ReferenceError: NProgress is not defined

suntong opened this issue · comments

From the doc of my latest installation, I saw:

CSS
Copy-paste the stylesheet link just before closing head tag.

<link href="https://unpkg.com/sleek-dashboard/dist/assets/css/sleek.min.css" rel="stylesheet">

JS
Place the following script near the end of your pages, right before the closing body tag.

<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="https://unpkg.com/sleek-dashboard/dist/assets/js/sleek.bundle.js"></script>

However, when I tried it, I got:

image

Basically, the

jQuery.Deferred exception: NProgress is not defined @http://localhost:5555/test/assets/js/sleek.bundle.js:10126:4
l@https://code.jquery.com/jquery-3.3.1.min.js:2:29375
a/</c<@https://code.jquery.com/jquery-3.3.1.min.js:2:29677
 undefined jquery-3.3.1.min.js:2:30930
ReferenceError: NProgress is not defined

NProgress is not found/defined.

Please double-check. Thx!

reopen with brand-new content. See updated OP.

Problem gone.