Recently developed an e-commerce platform, would like to ask what front-end technology is better to do, looking for ideas

want to use vue or react, but this project must consider seo. If you want to use traditional freemarker rendering, the front and back end communication costs are high, the requirements for developers are high, and the efficiency is low, and it is impossible to do front-end performance optimization (compression, merge, file md5, etc.). Want to use nodejs middle layer rendering, have you ever done it before, there is no train of thought!

ask God for some ideas!


if it's just SEO , you probably just need to pre-render. The
principle is to determine whether it is a human or a reptile by user-agent . If it is a reptile, open a headless browser to get the rendering result and return it to the crawler.

Vue SSR Guide
prerender-spa-plugin


you can learn about Nuxt.js!

Menu