title: Opening pdf in a new window through vuejs
body: <p>Currently, I am developing my personal website using vuejs and I am running into an error when I am trying to open up my resume in another window through a button click. What is happening is that, when I click the corresponding button, instead of opening-up the pdf, it renders the home page again. Here is my button HTML element:</p>
  <pre><code>&lt;button class=&quot;button in-left2&quot; v-on:click=&quot;openPdf()&quot; target=&quot;_blank&quot;&gt;Resume&lt;/button&gt;
  </code></pre>
  <p>Here is the corresponding Method</p>
  <pre><code>openPdf(){
    window.open(&quot;./Avi-Dave-Resume.pdf&quot;) 
  }
  </code></pre>
  <p>My Resume is in the directory where I am using the vue cli to render my website. My Resume is in the directory where I run my server. I feel like my file path is wrong, but would love to know more about the issue.</p>