Default <head> config to override "Vue App"
What problem does this feature solve?
Build a SPA and watch the site title flash. Share it on any social media site and watch your site be misrepresented.
Yes, I know what your official solution is. Yes, I understand why it is like this Yes, I understand this can be fixed with SSR. No, none of these are an appropriate solutions and are clearly cop-outs. No, having social media sites show your site preview as "Vue App" is simply unacceptable in 2023.
I am not aware of any other SPA/SSG that has these issues without a suitable solution
What does the proposed API look like?
Add a config in vue.config.js
to override the default "Vue App" meta with a new default at build-time. Implementers can rewrite the title again with @vueuse/head
at run-time to something more accurate if needed, but at least scrapers and site previews won't give the impression that the website is a college project.