Maximum call stack size exceeded on initial set up
Hello,
Attachment: nuxtscheduler_ccfae59e.zip
I'm trying to add schedule component o my nuxt app, I followed the official docs https://ej2.syncfusion.com/vue/documentation/schedule/getting-started/?no-cache=1#getting-started
But I get this Maximum call stack size exceeded error, and the component is not being rendered
I have attached reproduction code.
npm install to install dependecies
npm run dev to launch the app
Please advise!
Best regards!
Attachment: nuxtscheduler_ccfae59e.zip
SIGN IN To post a reply.
3 Replies
KK
Karthigeyan Krishnamurthi
Syncfusion Team
June 20, 2019 09:44 AM UTC
Hi Victor,
Syncfusion greetings.
In your sample kindly use the below code example in comSchedulerDemo.vue file to overcome the issue.
|
<script>
import Vue from 'vue';
import { Component } from "vue-property-decorator";
import { SchedulePlugin,Day, Week, WorkWeek, Month, Agenda } from '@syncfusion/ej2-vue-schedule';
Vue.use(SchedulePlugin);
export default {
provide: {
schedule: [Day, Week, WorkWeek, Month, Agenda]
}
}
</script> |
Regards,
Karthi
Hi Victor,Syncfusion greetings.In your sample kindly use the below code example in comSchedulerDemo.vue file to overcome the issue.
import Vue from 'vue';import { Component } from "vue-property-decorator";import { SchedulePlugin,Day, Week, WorkWeek, Month, Agenda } from '@syncfusion/ej2-vue-schedule';Vue.use(SchedulePlugin);export default {provide: {schedule: [Day, Week, WorkWeek, Month, Agenda]}}Regards,Karthi
I have the same issue when using Sidebar.
Get stuck after re-render my page, I am config nuxt app ssr mode.
Update:
After I change nuxt app to csr mode, the issue didn't appear anymore.
IL
Indhumathy Loganathan
Syncfusion Team
December 30, 2020 12:53 PM UTC
Hi Lu Tuan Dat,
Greetings from Syncfusion support.
We have validated your reported problem. We have included our Sidebar component in our shared sample, but your reported problem was not occurred in it.
Please refer the below sample, in which we have included simple Vue Sidebar component,
We need more details regarding your requirement.
- What is your exact problem or requirement? Please, explain us with clear information.
- Share us screenshot or video footage of your problem/requirement.
- If possible, share us your issue reproduced sample.
This information would help us to check and provide you the prompt solution needed.
Please refer the following links to know more about the Vue Sidebar component.
Please, let us know if you need any further assistance.
Regards,
Indhumathy L
SIGN IN To post a reply.
- 3 Replies
- 4 Participants
-
VM Victor Marval
- Jun 19, 2019 10:51 PM UTC
- Dec 30, 2020 12:53 PM UTC