I was making a ssr vue app using gridsome. And I had a loader for the app which got off after I fetched the data from a api. But gridsome is not generating html for the actual content but only for the loading icon. How do I deal with that?
About: Passionate programmer, Open Source Enthusiast, experienced in REST APIs, full-stack web applications, test-driven development.
I was making a ssr vue app using gridsome. And I had a loader for the app which got off after I fetched the data from a api. But gridsome is not generating html for the actual content but only for the loading icon. How do I deal with that?
Update: I have found a workaround i.e. to not use
v-if
instead usedisplay: none;
to hide the main element.