Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 1.04 KB

README.md

File metadata and controls

20 lines (13 loc) · 1.04 KB

Primo headless

This repo demonstrates how you can consume a Primo site's data from SvelteKit (or a similar framework). If you'd like to serve Primo pages from your SvelteKit app, check out primo-headless.

In this case, it's used to list blog posts and render individual blog posts. The content is server-side rendered or can be statically rendered from SvetleKit.

Developing

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

How it works