spatial-office/packages/frontend/src/main.jsx
Scott Scoble 03eaea3f2d build: fix Nix flake with correct npmDepsHash and working builds
- Copy working src/frontend code into packages/frontend/src
- Add vite.config.js and index.html to packages/frontend
- Add real backend WebSocket server source
- Switch flake from pnpm to npm builds
- Force-add npm lockfiles (gitignored) for Nix source inclusion
- Set correct npmDepsHash for both packages
2026-05-19 18:15:41 -07:00

10 lines
233 B
JavaScript

import React from 'react';
import { createRoot } from 'react-dom/client';
import App from './App.jsx';
const root = createRoot(document.getElementById('root'));
root.render(
<React.StrictMode>
<App />
</React.StrictMode>
);