Static navigational breadcrumb links for a page can now be configured through the route meta config. There is no need to import navStore and set state. This is done by adding a beforeEach navigational guard to router. This was not possible before because we did not know how to use stores in router guards while also exporting router object which happens before Pinia is registered.
Related Issue(s)
Closes #69 #70
Changes Made
List the main changes made in this PR. Be as specific as possible.
[x] Feature added
[ ] Bug fixed
[x] Code refactored
[x] Documentation updated
[ ] Other changes: [describe]
Checklist
Before submitting this PR, please make sure that:
[x] Your code passes linting and coding style checks.
[x] Documentation has been updated to reflect the changes.
[x] You have reviewed your own code and resolved any merge conflicts.
[ ] You have requested a review from at least one team member.
[x] Any relevant issue(s) have been linked to this PR.
Description
Static navigational breadcrumb links for a page can now be configured through the route meta config. There is no need to import navStore and set state. This is done by adding a beforeEach navigational guard to router. This was not possible before because we did not know how to use stores in router guards while also exporting router object which happens before Pinia is registered.
Related Issue(s)
Closes #69 #70
Changes Made
List the main changes made in this PR. Be as specific as possible.
Checklist
Before submitting this PR, please make sure that: