Importing datepicker issue

Hi All,

Trying to install this component/plugin

I keep getting the error “ReferenceError: document is not defined” which has to do with it not being compatible with SSR.

There are notes about this below but this doesn’t help because as soon as I add the import line it crashes before even getting to the “isServer” part.

https://docs.vuestorefront.io/guide/core-themes/plugins.html

Hi,
Did you wrap the component with no-ssr?

<no-ssr>
  <example-component />
</no-ssr>
<script>
import NoSSR from 'vue-no-ssr'
export default {
  components: {
    'no-ssr': NoSSR
  }
}
</script>