3.0.1
https://jsfiddle.net/50wL7mdz/774018/
The console should show an array of three routes, including the '/foobar' one
The console shows an array of two routes
This is expected: the options object doesn't change over time
I dont get it why it is the expected behaviour.
Can you explaint it a little more?
How can i access all the current routes? (obviously including the newly added one)
i have the same problem with you
do you solve? why addRoutes() not change router.options.routes
Most helpful comment
I dont get it why it is the expected behaviour.
Can you explaint it a little more?
How can i access all the current routes? (obviously including the newly added one)