Skip to content

Clean up & add createOrbitApp#1

Open
dolanske wants to merge 5 commits into
mainfrom
app-creation-cleanup
Open

Clean up & add createOrbitApp#1
dolanske wants to merge 5 commits into
mainfrom
app-creation-cleanup

Conversation

@dolanske

@dolanske dolanske commented Jun 14, 2026

Copy link
Copy Markdown
Member

This PR shuffles a few files around for better readability and also adds a createOrbitApp core method, which automatically registers vue router and offloads the main app creation from apps to the core package instead.

The idea is that the user needs to do only 3 steps in order to spin up the Orbit front end

  1. Import the createOrbitApp
  2. Create the proper platform controller (eg.: createWebPlatform)
  3. Use the <OrbitRoot /> component in their App.vue application entrypoint

I removed a few comments from platform/types.ts as they seemingly randomly documented some object keys but left most of them out. And I think the top-level comment should probably be rephrased and instead be put to README

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant