Single comment thread
See full discussion

No, SSG is good for SEO - often better due to lower latency.

Once you force yourself to keep SSG as far as possible, you start to actually design your information architecture according to SSG's shortcomings (lack of dynamic content).

Make sure to set the canonical URL. And have a sitemap and robots.txt. Host with SSL on all pages.

And, have a look at AstroJS, you can still use Vue or Next with it, but its content collections are super useful for SSG.

Great, this is basically my plan - thanks for the confirmation

I did look at Astro - the syntax in most of their template examples looks a bit weird (seems to be React inspired?) and I wasn’t sure Vue could be used directly with it. I’ll give it another look though as it does seem to have some useful features.

Astro is completely UX-framework-agnostic, not only can you use Vue, you can also mix various frameworks without issues due to it's Islands Architecture. So you can use React Charts if that is the best charting library, and mix it with Vue and Svelte.

docs.astro.build/en/guides/in…

Personally, I just use Astro with vanilla JS and barebone HTML Web Components where needed (rarely).

Home
Search
Messages
Notifications
More