Closed tomaszek92 closed 6 years ago
This is a (multiple allowed):
[x] bug
[ ] enhancement
[ ] feature-discussion (RFC)
Framework7 Version: 2.0.7
Framework7-Vue Version: 2.0.7
Platform and Target: CORDOVA, IOS, ANDROID.
I am trying to change the displaying page after the successful login, but I can't change the actual page. login.vue: https://gist.github.com/tomaszek92/d1fd8985491ba073c2f097db763137a5 routes.js: https://gist.github.com/tomaszek92/4759a4ea6fe6c8e06d68413cb587cb01
Change the displaying page.
Can't change the displaying page, throws an error: Also, I tried with navigate method, but it does nothing (no error, no change the page).
It should be this.$f7Router.navigate('/home/');
this.$f7Router.navigate('/home/');
And your login.vue must contain only f7-page element as a root element. No f7-view should be there
f7-page
f7-view
Great, it works. Thank you.
This is a (multiple allowed):
[x] bug
[ ] enhancement
[ ] feature-discussion (RFC)
Framework7 Version: 2.0.7
Framework7-Vue Version: 2.0.7
Platform and Target: CORDOVA, IOS, ANDROID.
What you did
I am trying to change the displaying page after the successful login, but I can't change the actual page. login.vue: https://gist.github.com/tomaszek92/d1fd8985491ba073c2f097db763137a5 routes.js: https://gist.github.com/tomaszek92/4759a4ea6fe6c8e06d68413cb587cb01
Expected Behavior
Change the displaying page.
Actual Behavior
Can't change the displaying page, throws an error: Also, I tried with navigate method, but it does nothing (no error, no change the page).