I am trying to change the app loader (when the app loads) but I cant find the code. Does anyone know how to do it?
14 Answer(s)
-
0
Hi,
For better help, could you share the use case what you want to do?
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi,
I want to change the loader when the app first loads. Take a look at the screenshot to view the loader I need to change [https://1drv.ms/f/s!AmYM9tmN3sk9a0Kz6KVZLdNufhc])
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Sorry I missunderstood. You mean loading image. Check this file.
~\src\assets\metronic\global\scripts\app.js
Image name is 'loading-spinner-grey.gif', you can search by this.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Thanks for your reply. I change it in app.js but I still see that app.min.js is not updated.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
And of course the loader is not changed
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
There is an extension for auto bundling/minifying, check if it is installed on your visual studio.
Check this document for detailed explanation. <a class="postlink" href="https://aspnetzero.com/Documents/Development-Guide-Core#bundling-minifying-and-compiling">https://aspnetzero.com/Documents/Develo ... -compiling</a>
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
I am using VS Code not VS
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
The link you sent me is for core-server not client. Are there any instructions on how to perform minification on angular 2?
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
if you use angular version, then you don't need to do anything to minify. You just change it in app.js and debug it on browser console if it is working.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
I changed from loading-spinner-grey to loading-spinner-blue clean browser cache and I still see the grey one.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Actually just noticed that if you see the spinner that I attached before and the one you suggested change they are not the same. This is not the spinner that is used in page loading..
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi,
I think it is showed by spin.js. We block the ui with ABP's Javascript UI Block & Busy API and it uses spinjs. See <a class="postlink" href="https://aspnetboilerplate.com/Pages/Documents/Javascript-API/UI-Block-Busy">https://aspnetboilerplate.com/Pages/Doc ... Block-Busy</a>
If spin.js allows, you can change it's spinner. If not, you can replace ABP's busy javascript implementation.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
How can I replace ABP's busy javascript implementation?
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi,
You can create a similar javascript file like this one <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.Web.Resources/Abp/Framework/scripts/libs/abp.spin.js">https://github.com/aspnetboilerplate/as ... bp.spin.js</a> and put it into your page after ABP's original one.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)