fix: #8166 Add an example to docs for accessing the store from router (#8182)
fix: #8166 Add an example to docs for accessing the store from router (#8182)

* Add an example for accessing the store from router

The reason for this example to exist is that Quasar defines the store
differently than Vue CLI, and there is a lot of documentation on the
internet which assumes an importable store, or suggests different
workarounds which are not as as clean as this example code

Credits to metalsadman (https://forum.quasar-framework.org/post/14454)
and vildar (https://forum.quasar-framework.org/post/16815)

* Update routing.md

Co-authored-by: Ali Clark <b42a6d93d796915222f6ffb2ffdd6137d93c1cdb@aliclark.net>
Co-authored-by: Razvan Stoenescu <5ced39d27860b435bebb748c5dedb4e40f3b0e82@gmail.com>
rstoenescu/quasar-framework,quasarframework/quasar,quasarframework/quasar,rstoenescu/quasar-framework,quasarframework/quasar,quasarframework/quasar,rstoenescu/quasar-framework