Template not rendering in Production build

Please see attached sample

yarn serve - produces the correct result, appointment template (SFC) renders as expected

yarn build - (then serve it using something like https://www.npmjs.com/package/serve) the output does not render the template as expected, it's empty, refer to 2nd screenshot



Build:





Attachment: Vue3SchedulereventTemplate_9254539b.zip


6 Replies

BS Balasubramanian Sattanathan Syncfusion Team February 14, 2022 01:47 PM UTC

Hi Jon,

We have tried to replicate the reported problem at our end in the given project and couldn't replicate it. Since the appointments are rendered properly for both npm and yarn serve. So can you please share issue replication steps or video demo? Because it will very useful to validate the issue and provide a prompt solution.

Please find the attachment of the video demo that works as expected.

Regards,
Balasubramanian S


Attachment: video_demo_a20ced12.zip


JO Jon February 15, 2022 02:31 AM UTC

Thanks for the reply - your video doesn't show the full stops, it just does a Production build then yarn serve hosts a Development mode build, please see my original posts that it's only a problem when hosting the production build, not just running build


Can you please try the following to reproduce the Production build:

npm install -g serve OR yarn add global serve

yarn build

serve dist


I'll upload a recording too shortly




JO Jon February 15, 2022 04:02 AM UTC

gif of problem when serving the production build:

https://s10.gifyu.com/images/production-build-failure.gif



GV Gokulraj Varatharajan Syncfusion Team February 18, 2022 09:14 AM UTC

Hi Jon, 
 
Thanks for the update, 
 
We are validating your reported query at our end. And we will update further details on 24th Feb 2022. We appreciate your patience until then. 
 
Please let us know if you have any concerns. 
 
Regards, 
Gokul


JO Jon February 26, 2022 05:58 AM UTC

Just wondering if there's any update on this?



GV Gokulraj Varatharajan Syncfusion Team February 28, 2022 12:31 PM UTC

Hi Jon, 
 
Sorry for the delay caused, 
 
We have resolved your reported issue at our end. Kindly update our packages to the latest version to address your reported issue at our end. 
 
Please get back to us if you have any queries. 
 
Regards, 
Gokul

Loader.
Up arrow icon