···11+export function AboutPage() {
22+ return (
33+ <section>
44+ <h1>About</h1>
55+ <p>
66+ Routes use MemoryRouter so navigation does not depend on a server URL.
77+ </p>
88+ </section>
99+ );
1010+}
···11-/**
22- * This file will automatically be loaded by vite and run in the "renderer" context.
33- * To learn more about the differences between the "main" and the "renderer" context in
44- * Electron, visit:
55- *
66- * https://electronjs.org/docs/tutorial/process-model
77- *
88- * By default, Node.js integration in this file is disabled. When enabling Node.js integration
99- * in a renderer process, please be aware of potential security implications. You can read
1010- * more about security risks here:
1111- *
1212- * https://electronjs.org/docs/tutorial/security
1313- *
1414- * To enable Node.js integration in this file, open up `main.ts` and enable the `nodeIntegration`
1515- * flag:
1616- *
1717- * ```
1818- * // Create the browser window.
1919- * mainWindow = new BrowserWindow({
2020- * width: 800,
2121- * height: 600,
2222- * webPreferences: {
2323- * nodeIntegration: true
2424- * }
2525- * });
2626- * ```
2727- */
2828-2929-import './index.css';
3030-3131-console.log(
3232- '👋 This message is being logged by "renderer.ts", included via Vite',
3333-);