You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To support SEO, we require bots/crawlers to be able to see some relevant content from the server side.
For normal users also, Content gets pre populated from the server and blank screen or mere placeholders are avoided. This improves the usability of our pages.
Now, Vue by default supports SSR and to know more how it works, there is a documentation at https://ssr.vuejs.org/ However, there is one major challenge we faced while implementing SSR.
The Weex UI architecture is based on the 750px width definition. There are no relative dimensions used like % or rem. Now, since on server, we cannot get the device width, it makes it difficult to render on server. So on server the page will render with scale=1 and on the client side, it will re render or adjust itself according to scale factor.
Therefore, we require support of percentages or some way to convert pixels into percentages.
Please help us out finding a suitable solution.
The text was updated successfully, but these errors were encountered:
We require SSR for the following reasons:
Now, Vue by default supports SSR and to know more how it works, there is a documentation at https://ssr.vuejs.org/ However, there is one major challenge we faced while implementing SSR.
The Weex UI architecture is based on the 750px width definition. There are no relative dimensions used like % or rem. Now, since on server, we cannot get the device width, it makes it difficult to render on server. So on server the page will render with scale=1 and on the client side, it will re render or adjust itself according to scale factor.
Therefore, we require support of percentages or some way to convert pixels into percentages.
Please help us out finding a suitable solution.
The text was updated successfully, but these errors were encountered: