[SOLVED] Router.back() not working after upgrading to version 4.2.0

Today I upgraded my project to version 4.2.0.Before I was in version 2.0.2.After upgrading router.back() method not working.If I use framework7.min.js from version 2.0.2 it works without any problem.But the problem is router.back() method not working when I use framework7.bundle.min.js from version 4.2.0. Any suggestion? Thanks in advance.

Sorry for making this question.I saw the error in console & solve the issue.From now we have to use app.views.main.router.back() instead of app.router.back()

Thank you so much for making this great framework.