Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to call NProgress.start(); in Angular? #295

Open
Maransatto opened this issue May 9, 2020 · 0 comments
Open

How to call NProgress.start(); in Angular? #295

Maransatto opened this issue May 9, 2020 · 0 comments
Labels
question Further information is requested

Comments

@Maransatto
Copy link

Maransatto commented May 9, 2020

Hi,

I've already install sleek-dashboard via npm and I added the css and js dependencies on angular.json. Everything seems to be OK, but I definitely don't know how to call the following scripts on index.html once nprogress was included in angular.js instead of via <script> on index.html.

NProgress.configure({ showSpinner: false });
NProgress.start();

it shows me the messagem: Uncaught ReferenceError: NProgress is not defined

Does someone have any idea?

@iamabdus iamabdus added the question Further information is requested label Sep 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants