search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Cannot set property document of #<Window> which has only a getter in Nuxt

Asked by KS Tan
1 month ago.

I’m using nuxt 3 which is running vue3, try to implement daypilot and notice that it not compatible. Below is the sample source code:

    <DayPilotCalendar id="dp" :config="config"/>
  <script lang="ts" setup>
  import {DayPilotCalendar} from '@daypilot/daypilot-lite-vue'
  const config = {
    viewType: "Week"

This issue happen at both SSR=true/false.

I’d attach console error too

So far any ideal?

Answer posted by Dan Letecky [DayPilot]
1 month ago.

This issue should be fixed now in the latest release (version 2024.1.519/3.20.1):

Please let me know if the problem persists.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.