- as the title, seo asks that the rendered page be clean. The result of the current vue-ssr is that the data is saved in the
< script > window.__INITIAL_STATE__= [data] < / script >
of the page. Is there a way to put these data in thejson file
, and then the page refers to the data in thejson file
. Of course, there are not onlyjson files
this solution, but also other solutions .
- there is also
< style data-vue-ssr-id= "xxx" > style < / style >
whether the style here can be extracted into acss
file. Seo said that viewing the source page looks messy and neat.
Thank you in advance. I was so annoyed by seo.