Any plans for Integration with SvelteKit? #766
-
My main framework right now is SvelteKit and absolutely would love to develop with keystatic on it. How complex is it to implement keystatic for another framework? Do you guys perhaps have a guide for integrating keystatic with just Also, is SvelteKit support also anywhere near the roadmap for this project? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey! Keystatic is built with React and we have no concrete plans to build a version in a different framework. However, you should be able to run Keystatic in a subdirectory in your SvelteKit project and run it as a separate Next.js app on a different port. You can make it store the content at the root level of your project (where the SvelteKit app lives) and then read the files from there. The other thing that will be a bit complicated is to render content from the document field. Keystatic provides the The rest should work pretty well — if you're happy with that dual-nested-app setup. Hope it helps! |
Beta Was this translation helpful? Give feedback.
Hey!
Keystatic is built with React and we have no concrete plans to build a version in a different framework.
However, you should be able to run Keystatic in a subdirectory in your SvelteKit project and run it as a separate Next.js app on a different port.
You can make it store the content at the root level of your project (where the SvelteKit app lives) and then read the files from there.
The other thing that will be a bit complicated is to render content from the document field. Keystatic provides the
DocumentRenderer
written in React — and you could take inspiration to write a similar renderer in Svelte.The rest should work pretty well — if you're happy with that dual-nested-app setup.
…