question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

improvement suggestion: use named paths

See original GitHub issue

I 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:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
SHxKMcommented, Oct 3, 2018

Hope I didn’t botch it…let me know if I did something wrong/if anything could be done bettter.

1reaction
SHxKMcommented, Oct 3, 2018

Maybe I can create a (first-ever personal) PR for this?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found