Implement the Primo CMS into an already existing SvelteKit Project #354
Unanswered
orangesidny
asked this question in
Q&A
Replies: 1 comment 3 replies
-
You'll need to integrate primo-builder instead of the primo repo (which uses primo-builder https://github.com/primocms/builder). It might be easiest to see how try-primo works since it has a simpler wrapper over the builder. You'll just import the Primo component from '@primocms/primo-builder' and mount it in your route file. Continuing from Discord, you can change where the themes come from by swapping out the URL on line 13 in this file https://github.com/mateomorris/try.primocms.org/blob/master/src/lib/components/Themes.svelte |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there, Just wondering How would you implement Primo's editor into an already-existing svelte-kit project.
For example, if I have a ../customize route where people can build their own website using Primo and the rebuild UI templates. Then they can save it and it will go to the ../main route. But only using the Primo UI customizer rather than the entire Auth cms. As I already have the Auth.
Beta Was this translation helpful? Give feedback.
All reactions