Is it possible in app-vite to display static content before JS loads in SPA mode? #17647
-
In app-webpack v3, the HTML file has a We want to switch to app-vite v2, but unfortunately, we've not been able to find a way to do something similar in app-vite (or app-webpack v4), due to that div being replaced by a comment. Is there any way to accomplish something to this effect? This is very important for us because we have over 500 000 users every day, many of whom are in areas with slow internet connections, and SEO is very important to maintaining our search ranking. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi, yes you can. Just write your own div, give it an id attribute and then in the JS code remove it from DOM |
Beta Was this translation helpful? Give feedback.
Hi, yes you can. Just write your own div, give it an id attribute and then in the JS code remove it from DOM