Initial import: open-design source for helix-mind.ai distribution
Some checks failed
ci / Validate workspace (push) Successful in 12m32s
landing-page-ci / Validate landing page (push) Successful in 9m41s
landing-page-deploy / Deploy landing page (push) Failing after 5m23s
github-metrics / Generate repository metrics SVG (push) Failing after 2m6s
refresh-contributors-wall / Refresh contributors wall cache bust (push) Failing after 12s
Some checks failed
ci / Validate workspace (push) Successful in 12m32s
landing-page-ci / Validate landing page (push) Successful in 9m41s
landing-page-deploy / Deploy landing page (push) Failing after 5m23s
github-metrics / Generate repository metrics SVG (push) Failing after 2m6s
refresh-contributors-wall / Refresh contributors wall cache bust (push) Failing after 12s
This repository contains the open-design daemon CLI source code, built and packaged at https://helix-mind.ai/cli/open-design/latest.tgz for use by the HelixMind /design slash command. Licenses: Apache-2.0 (root) + MIT (skills/*)
This commit is contained in:
17
apps/web/app/[[...slug]]/client-app.tsx
Normal file
17
apps/web/app/[[...slug]]/client-app.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
'use client';
|
||||
|
||||
import dynamic from 'next/dynamic';
|
||||
|
||||
// The product is a fully client-driven SPA — every component reads
|
||||
// localStorage, window.location, etc. — so we opt out of static-time
|
||||
// rendering for the entire tree. This keeps `next build --output export`
|
||||
// from trying to evaluate browser-only code while still emitting a real
|
||||
// shell HTML the daemon can serve as the SPA fallback.
|
||||
const App = dynamic(() => import('../../src/App').then((m) => m.App), {
|
||||
ssr: false,
|
||||
loading: () => <div className="od-loading-shell">Loading Open Design…</div>,
|
||||
});
|
||||
|
||||
export function ClientApp() {
|
||||
return <App />;
|
||||
}
|
||||
Reference in New Issue
Block a user