---
title: "Editor hosting"
description: "The supported split-origin editor model and a future same-origin deployment option."
canonical_url: "https://nyxel.dev/docs/editor-platform/hosting-study"
markdown_url: "https://nyxel.dev/docs/editor-platform/hosting-study.md"
---

# Editor hosting
URL: /docs/editor-platform/hosting-study
LLM index: /llms.txt
Description: The supported split-origin editor model and a future same-origin deployment option.

# Editor hosting

Nyxel runs the editor and storefront as separate applications. In local development the editor connects to the storefront over CORS-enabled development endpoints; in production a platform service will authenticate and proxy the equivalent operations.

## Why the applications stay separate

The storefront serves merchant HTML and executes theme components. The editor manages privileged documents, drafts, selection state, and authoring controls. Separate builds prevent theme CSS and component dependencies from entering editor chrome and make it possible to deploy the two surfaces under different security policies.

`@nyxel/editor` remains portable because it receives data and callbacks rather than importing storefront modules. Canvas uses a renderer interface and Preview uses a route URL, so the library does not depend on a particular hosting topology.

## Optional same-origin profile

A platform may place both applications behind one public origin through an authenticated proxy. That can simplify cookies and demonstrations, but it does not combine their packages or trust boundaries.

Any same-origin profile must preserve development endpoint isolation, Shadow DOM CSS boundaries, Preview session authorization, route precedence, and the same storefront/editor browser workflows as the split-origin model. It should be introduced only when the production authentication and deployment design can enforce those invariants.

## Sitemap

See the full [sitemap](/sitemap.md) for all pages.
Docs-scoped sitemap: [/docs/sitemap.md](/docs/sitemap.md).
Well-known sitemap: [/.well-known/sitemap.md](/.well-known/sitemap.md).
