Hello, I use Ajax to render component. I want to have ‘loading screen’ for every route. Would you guys help me to make the loading screen? If global loading page is not possible at least just for every single page.
What I’ve done (based on Documentation):
- Nesting route :
- app
- | templates
- - | category
- - - | woman
- - - - | index.hbs
- - - - | loading.hbs
I also tried :
- app
- | templates
- - | category
- - - | woman
- - - - | index.hbs
- - - | loading.hbs
- Put action in route (app/routes/category/woman/index)
loading(){ alert('loading') } }```
They all doesn’t work…