multica/apps/desktop
Naiyuan Qing a8143735e9 feat(desktop): initialize electron app with routing and cleanup
Remove template boilerplate (sample SVGs, test IPC message, comments),
add react-router-dom v7 with createHashRouter, scaffold home and chat
pages using @multica/ui components, and add READMEs for desktop, ui,
and store packages documenting import conventions.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 14:17:31 +08:00
..
electron feat(desktop): initialize electron app with routing and cleanup 2026-02-03 14:17:31 +08:00
src feat(desktop): initialize electron app with routing and cleanup 2026-02-03 14:17:31 +08:00
.eslintrc.cjs feat(desktop): scaffold Electron app with Vite 2026-01-30 11:34:09 +08:00
.gitignore feat(desktop): initialize electron app with routing and cleanup 2026-02-03 14:17:31 +08:00
electron-builder.json5 feat(desktop): scaffold Electron app with Vite 2026-01-30 11:34:09 +08:00
index.html feat(desktop): initialize electron app with routing and cleanup 2026-02-03 14:17:31 +08:00
package.json feat(desktop): initialize electron app with routing and cleanup 2026-02-03 14:17:31 +08:00
README.md feat(desktop): initialize electron app with routing and cleanup 2026-02-03 14:17:31 +08:00
tsconfig.json feat(store): add shared Zustand store package with counter example 2026-01-30 11:34:09 +08:00
tsconfig.node.json feat(desktop): scaffold Electron app with Vite 2026-01-30 11:34:09 +08:00
vite.config.ts feat(desktop): integrate @multica/ui shared components 2026-01-30 11:34:09 +08:00

@multica/desktop

Electron desktop app. Vite + React + createHashRouter.

Development

multica dev desktop

Build

pnpm --filter @multica/desktop build

Conventions

  • Routing: react-router-dom v7 with createHashRouter (Electron loads via file://, BrowserRouter won't work). Pages go in src/pages/.
  • UI: All components from @multica/ui. No local UI components.
  • State: Store hooks from @multica/store.
  • Styles: Tailwind CSS v4 via @multica/ui/globals.css, imported in src/main.tsx.