mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-11-29 01:08:56 +01:00
Keep the original output-bound attempt stopped. Compile the existing Docs fetch, renderer, router and shipped help in the offline source VM, then exercise exact static bytes at desktop and phone with a small bounded browser process and native captures. No runtime or tool-boundary change. Contract-Neutral: Test-only consuming Docs fixture and source-bound preview preparation; production code, routes, installer/runtime contracts and enforced browser limits are unchanged. Change-source: pulse-maintainer
17 lines
569 B
TypeScript
17 lines
569 B
TypeScript
import { render } from 'solid-js/web';
|
|
import { Router, Route } from '@solidjs/router';
|
|
import Docs from '../src/pages/Docs';
|
|
import '../src/index.css';
|
|
|
|
// Use the real fetch/renderer/router. Only the surrounding application shell
|
|
// is a fixture; no host, agent, credential or recovery action is executed.
|
|
render(() => (
|
|
<Router root={props => (
|
|
<main class="min-h-screen bg-background p-4 text-base-content sm:p-6">
|
|
{props.children}
|
|
</main>
|
|
)}>
|
|
<Route path="/docs/*docPath" component={Docs} />
|
|
</Router>
|
|
), document.getElementById('root')!);
|