improvement suggestion: use named paths
See original GitHub issueI wondered in App.vue, what happens if we decide to change the path
of a nav item?
<div id="nav">
<router-link to="/">Vue</router-link> |
<router-link to="/messages">Django Rest</router-link>
</div>
I think it would be better to use a named path, like this:
<div id="nav">
<router-link :to="{ name: 'home' }">Vue</router-link> |
<router-link :to="{ name: 'messages' }">Django Rest</router-link>
</div>
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Template suggestions based on path alias - Drupal Answers
If your path continues, you can target more templates, so it's actually just small improvement of previous answers.
Read more >4 paths to process improvement
Introducing process improvement into the culture of your organization will remove waste and bring value. We know it. You know it.
Read more >Your Users' Desire Paths Pave the Way to Better Digital ...
Desire paths are more than shortcuts. They're opportunities created by users to improve products, design, and UX.
Read more >5.1. Concept: Paths, Aliases, and URLs | Chapter 5. Basic ...
Overview of paths, aliases, and URLs (with examples). ... It is the "name" by which a browser identifies a page to display. In...
Read more >Path aliases for imports in WebStorm
The production build does not use longer names, so hardly makes any difference in final code. I will suggest please reconsider your decision...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hope I didn’t botch it…let me know if I did something wrong/if anything could be done bettter.
Maybe I can create a (first-ever personal) PR for this?