Skip to content

add this.$router information #1686

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

add this.$router information #1686

wants to merge 1 commit into from

Conversation

connor11528
Copy link

Include information about the this.$router syntax. For many Vue.js projects vue-router will be configured in the main.js file and programmatic routes will be called from component files. This syntax is incredibly helpful and not obvious in the documentation. I found out about it because of this thread. Figured it should be accessible for all! Thank you

Include information about the this.$router syntax. For many Vue.js projects vue-router will be configured in the main.js file and programmatic routes will be called from component files. This syntax is incredibly helpful and not obvious in the documentation. I found out about it because of [this thread](https://laracasts.com/discuss/channels/vue/redirect-from-method-in-vuejs-with-vue-router). Figured it should be accessible for all! Thank you
@posva
Copy link
Member

posva commented Aug 15, 2017

Hi, thanks a lot for your interest in improving the project. This information appears already in the previous doc page: https://router.vuejs.org/en/essentials/navigation.html
If added somewhere else, I think it should go in the Getting Started section. I'll add it right away 🙂

@posva posva closed this Aug 15, 2017
@connor11528
Copy link
Author

Okay cool! Thank you, it is a great feature

@posva
Copy link
Member

posva commented Aug 15, 2017

it's at #1687 btw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants