Remodel vue.js the website with the SPA model at SSR?

Was made on Vue.js forgot to ask the customer about the need for SEO on the site. I know that vue has a ssr, nuxt.js
The question is, how much will have to do a project for nuxt?
Are there alternatives to how to get search engines to index village? Is it possible, axios mounted in(), to be executed synchronously to the page in the end for the robot was to read?
June 3rd 19 at 19:31
2 answers
June 3rd 19 at 19:33
about vue ssr:
webpack will have to shovel(but I had that and it was a pain in the ass)
add a couple of files entry-server.js, entry-client.js
PreRender on the server side:
1. https://github.com/vuejs/vue-hackernews-2.0/blob/m...
render client-side:
2. https://github.com/vuejs/vue-hackernews-2.0/blob/m...
just specify what data is which component shipping
3. https://github.com/vuejs/vue-hackernews-2.0/blob/m...
hope all the libs in the project are compatible with the ssr
June 3rd 19 at 19:35
had a similar situation. Since time was short, decided to use vue-srr plugin, but in the end realized that it was easier to learn and nuxt to do it, although too quickly will not work. Will have to remake the folder structure of the Ajax-requests, the connect plugins. But as for me, it's worth it, and support it gets easier.
It should be noted that if a regular SPA can run on a PHP server, you need to SSR Noda is also a question to the client, if he has these conditions for the site.
The alternative is to generate static, but is suitable only for completely static sites, in which even the news, for example.

Find more questions by tags Vue.jsServer-Side Rendering