enhanceApp()
ctx.router
is not a router instance
#4204
Labels
docs
Improvements or additions to documentation
enhanceApp()
ctx.router
is not a router instance
#4204
Describe the bug
The theme docs and code completion state that the
router
instance is exposed inenhanceApp()
but it appears therouter
instance is actually aroute
instance, and doesn't conform to the Router interface.Reproduction
Initialize a new project, then add the following code to
enhanceApp()
:Expected behavior
We should be able to interact with the
router
instanceSystem Info
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: