jensbuehl / aoe4-guides

Source code for aoe4guides.com: Yet another Age of Empires IV build order tool
https://aoe4guides.com
MIT License
18 stars 7 forks source link

Global loading state during route resolution #98

Closed jensbuehl closed 2 months ago

jensbuehl commented 2 months ago

When switching between views, have a global loading state instead of partial loading states per component.

jensbuehl commented 2 months ago

Consider using vuex.

router.beforeEach and router.afterEach might be a hint to get started.

jensbuehl commented 2 months ago

I cannot recall the use case and why that might be better. Will keep it as soon s for now.