-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Documentation using modules #829
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
Comments
https://www.vuemastery.com/blog/vue-router-a-tutorial-for-vue-3/ |
starting a new vue3 + vite project, one thing that confused me was how to import the router in order to use the code from the getting started page. ( the previous version's installation page had an example import statement, and that was a nice help. |
This was really painful, not having the imports needed for the examples on the router was quite confusing. |
@thedamon Most of them were actually incorrectly importing the router. It was better not to spread bad practices. Currently I need to focus on other stuff before getting back to the documentation, so feedback on difficult parts is welcome: #2068 |
The examples have been updated by #2174. I think this issue can be closed. |
Right now the starting guide (https:/router.vuejs.org/guide/) still uses a vanilla index.html approach. I think that it was easier back when vue-router started but now it isn't anymore and that maybe that page should be updated using .vue components and pointing to vue CLI and vite. It should maybe also point to Vue docs explaining Vue files.
What are your thoughts on this?
Do you have any other ideas on how to restructure this section of the docs?
The text was updated successfully, but these errors were encountered: