Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

vue-router's router-link with actual refresh?

Okay, I didn't know that a normal <a> tag works as my expectation if history mode is used, so I ended up doing this:

<a :href="$router.resolve({name: 'HelloWorld'}).href">link</a>

or maybe just:

<a href="/">link</a>

Tags:

Vue.Js

Vue Router

Related

Conditionally disabled React Checkboxes Flutter Firestore pagination Styling Vuetify selectors Built-in module to calculate the least common multiple Remove the Material Stepper header navigator.geolocation.getCurrentPosition() never returns in WebView on Android TypeScript tsconfig settings for Node.js 10? Change background color of the button on click How do I push to a repo from within a gitlab CI pipeline? Installed Docker on Mac but can't find the command What are valid Date Time Strings in JavaScript? How to log non-fatal (caught) exceptions with Firebase (Crashlytics)

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy