Skip to main content
ollieshop start is the local half of Ollie Studio. It builds every component of the project, serves the bundles with hot reload, and opens Studio, which pushes them into a preview of your real checkout.
Needs an ollie.json with a storeId (see Project configuration). Does not need a login.

What you see

Each component row shows its name, slot and id. studio-* ids mark unlinked components (not yet in your store). Below the list the server logs the last requests and, with --browser-logs, the console lines your components print in the preview. Keys: q quits, r forces a rebuild, o opens Studio.

How it works

  • The server listens on port 4000. The port is fixed because Studio looks for it there. It also uses port 4001 internally, which is the default port of function dev; run that one on another port when both are up.
  • Components are discovered from the ollie.json components map, then from folders under components/. Each index.tsx is bundled to node_modules/.ollie/build/<name>/index.js (plus a .css when the component imports styles). react, react-dom, next, next-intl and @ollie-shop/sdk are left external: the checkout provides them.
  • components/ and the ollie*.json files are watched. Saving a file rebuilds and notifies Studio, which reloads the component in the preview.
  • http://localhost:4000/manifest.json lists the components with their ids, slots and build errors. Studio reads it; you can open it to see what the server found.
  • When Studio publishes an unlinked component, it asks the dev server to record the new UUID in ollie.json, so the folder is linked from then on.

Startup messages