React SPA with Kirby Panel

Hi all,

I’m trying to figure out a way to create a single page app using React as the frontend of the site whilst still having Kirby as the CMS. I plan on using the api provided by this Kirby plugin: https://github.com/lord-executor/kirby-json-api or https://github.com/jongacnik/spad

But I can’t figure out what the project structure would be for me to be able to have my index.html as the starting point? Does anybody have an example where they have created a SPA as the frontend of a Kirby site or can point me in the right direction?

Thanks!

Why do you need an index.html? You might as well use the home.php template?

1 Like