You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, I wanna say thanks, to every member of this boilerplate it's just awesome. Some of the patterns and features are useful and sometimes can save hours of development time.
Now the problem 😢
Recently I was trying to build a basic Vue app and I used this boilerplate as a reference.
When I was building the routing part I've noticed an error in my console after debugging I found out that the issue was appearing when I was trying to logout.
This is what I've done differently
Instead of using Vue <router-link/> component as done in this boilerplate, I used this.$router.push(...)
As show here
And this is the error
Steps to reproduce
In vue-enterprise-boilerplate's nav bar add a button
Create a method logout as shown above
Add click event on the button
Login using mock API credentials
Click newly created logout button
What is expected?
Navigating to logout then redirection to save route without errors.
The text was updated successfully, but these errors were encountered:
@andreiTn you're right. I didn't get any errors. Thank you so much for the reference! It seems like that this is just putting tape on the problem, but when I explored the solution in detail, everything got in their places.
Thanks
Hi everyone,
First of all, I wanna say thanks, to every member of this boilerplate it's just awesome. Some of the patterns and features are useful and sometimes can save hours of development time.
Now the problem 😢
Recently I was trying to build a basic Vue app and I used this boilerplate as a reference.
When I was building the routing part I've noticed an error in my console after debugging I found out that the issue was appearing when I was trying to logout.
This is what I've done differently
Instead of using Vue
<router-link/>
component as done in this boilerplate, I usedthis.$router.push(...)
As show here

And this is the error

Steps to reproduce
What is expected?
Navigating to logout then redirection to save route without errors.
The text was updated successfully, but these errors were encountered: