svolto Svelte Themes

Svolto

Svelte rendering of Volto Blocks content from hybrid CMS Plone

svolto - THIS IS AN EXPERIMENT FOR NOW!!!

SvelteKit UI for rendering content including Volto Blocks from the hybrid CMS Plone. You will need a Plone Backend with plone.restapi enabled and the Volto frontend. The content is managed by using the default Plone Frontend Volto.

Developing

Start background and Volto containers

docker compose up -d

[+] Running 4/4
 ✔ Network appsuite             Created                                                                                                                                                                                                                  0.1s
 ✔ Container svolto-db-1        Healthy                                                                                                                                                                                                                  0.1s
 ✔ Container svolto-backend-1   Started                                                                                                                                                                                                                  0.1s
 ✔ Container svolto-frontend-1  Started

Run SvelteKit dev server

pnpm i

copy the example.env to .env and make sure you have the correct settings in your .env file. If you are using the .devcontainer for the svolto frontend, then you need to adjust at least the API_PATH variable API_PATH=http://backend:8080/Plone.

pnpm run dev

then open the browser at: http://localhost:5173/

or start the server and open the app in a new browser tab like this

pnpm run dev -- --open

Building

To create a production version of your app:

pnpm run build

You can preview the production build with pnpm run preview.

Top categories

Loading Svelte Themes