Hi,
I’m new to DoneJS and I really like it. However, I’m struggling with something.
I created and app and added some components and models. Some of the components list some data fetched from an api, through the models.
When I run the app with donejs develop, the server side rendering works fine and I can see the content rendered in the page (html).
However, if I do a
donejs build
and then
NODE_ENV=production donejs start
the app starts, but all the data fetched from the api doesn’t get SSR - I only see the component tag in html, not the content / list of items.
Is this how it’s supposed to work or am I missing something?
I mean the whole SSR is more important for production (SEO) rather than devel so I expected it to work out of the box in production mode, not in devel mode.
Thanks!