title: Unable to use vue-airbnb-style-datepicker with Nuxt
body: <p>I'm all new with Nuxt so this might be stupid question.</p>
  
  <p>I have a Nuxt project where I want to use this plugin
  <a href="https://mikaeledebro.gitbooks.io/vue-airbnb-style-datepicker/" rel="nofollow noreferrer">vue-airbnb-style-datepicker</a></p>
  
  <p>I fallowed the installation and installed this to my project:</p>
  
  <pre><code>npm install vue-airbnb-style-datepicker --save
  
  npm install date-fns
  </code></pre>
  
  <p>then in the plugins folder I made a file called <strong>vue-airbnb-datepicker.js</strong> and added this code inside</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>import Vue from 'vue'
  import AirbnbStyleDatepicker from 'vue-airbnb-style-datepicker'
  import 'vue-airbnb-style-datepicker/dist/styles.css'
  
  const datepickerOptions = {}
  
  Vue.use(AirbnbStyleDatepicker, datepickerOptions)</code></pre>
  </div>
  </div>
  </p>
  
  <p>then in the <strong>nuxt.config.js</strong> I added my plugin</p>
  
  <pre><code>plugins: ['~/plugins/vue-airbnb-datepicker.js'],
  </code></pre>
  
  <p>After all this when i run my app i got </p>
  
  <p><strong>ReferenceError Element is not defined</strong></p>
  
  <p>I can post the full error message but I do not think that is relevant.</p>