Nuxt.js SPA mode solves SEO problem

problem description

the company is going to develop an e-commerce website, which is developed by java in the background, and the front-end project has always been developed using vue.js, but the single-page mode is not friendly to the search engine, so it is going to use Nuxt.js to do it. There are some questions I would like to ask the leaders

.

the environmental background of the problems and what methods you have tried

mode: spa
1. Because spa, cannot have only one interface when using google"s sitemap generation tool, use the @ nuxtjs/sitemap plug-in to generate sitemap.xml to inform the search engine of the pages that can be crawled
2. In the web page in sitemap, use asyncData to call the API before the routing update to return the result

can this method solve the seo problem of spa

Mar.09,2022

you can try Prerender pre-rendering optimization SEO, to solve this kind of problem without adjusting the code.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3de6b-2c3e3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3de6b-2c3e3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?