feat: add build pipeline

This commit is contained in:
Morten Olsen
2024-12-10 22:52:35 +01:00
parent d833dc5643
commit 0479d34a3b
17 changed files with 1003 additions and 0 deletions

9
app/src/app.tsx Normal file
View File

@@ -0,0 +1,9 @@
const App = () => {
return (
<div>
<h1>Hello World</h1>
</div>
);
};
export { App };

14
app/src/main.tsx Normal file
View File

@@ -0,0 +1,14 @@
import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import { App } from './app.tsx';
const root = document.createElement('div');
if (!root) {
throw new Error('Root element not found');
}
createRoot(root).render(
<StrictMode>
<App />
</StrictMode>,
);

1
app/src/vite-env.d.ts vendored Normal file
View File

@@ -0,0 +1 @@
/// <reference types="vite/client" />