boxybird / inertia-wordpress

The WordPress adapter for Inertia.js.
170 stars 26 forks source link

Support for SSR #16

Open ngtranthanhtoan opened 2 years ago

ngtranthanhtoan commented 2 years ago

Dear author,

Is there a way to support SSR, since most WordPress websites need SEO friendly?

boxybird commented 2 years ago

Hello!

I love the idea, but there are currently no plans to support SSR.

While I do agree with you that typical WordPress sites tend to have a focus on SEO, the goal use case of this adapter was to provide an alternative to the traditional REST API powered SPA, where things like SEO are not as important.

That said, PRs are always welcome!

MattPurland commented 1 year ago

I gave this a go, see my PR:

https://github.com/boxybird/inertia-wordpress/pull/21

ElvisCaballero commented 1 year ago

Hello!

Awesome work on PR! I have need for SSR in my page. Whats up with this are there plans to merge it?