I try without success to apply a prerendering (or a SSG) to my VueJs 3 application to make it more SEO friendly.
I found the vue-cli-plugin-prerender-spa, and when I try it with the command line : vue add prerender-spa I have the error : ERROR TypeError: Cannot read properties of undefined (reading ‘endsWith’)
After that I try prerender-spa-plugin but I have an error wheh I make a npm run build :
[prerender-spa-plugin] Unable to prerender all routes!
ERROR Error: Build failed with errors.
Error: Build failed with errors.
What do you think about this ? Do you have any idea ?
Thanks for your help.