title: How to get baseURL inside Vuejs method using vue router?
body: <p>I have a method where need to create a string which consists of
  base URL <code>/get-it</code> and some random generated string?</p>
  <pre><code>methods:{
  GenerateURL(){
  ...
  }
  }
  </code></pre>
  <p>How can be it achieved? How can I either get base URL or /get-it with vue router but without navigating to that /get-it page which is empty?
  I just need to use it as a string inside the component.</p>