Scaffold new frontend with Vite + React 18 + TypeScript

This commit is contained in:
2026-04-23 21:04:27 +04:00
parent 63ac2df4b5
commit abef71e4ab
13 changed files with 3359 additions and 0 deletions

8
frontend/src/App.tsx Normal file
View File

@@ -0,0 +1,8 @@
export default function App() {
return (
<div style={{ padding: '2rem', fontFamily: 'sans-serif' }}>
<h1>PCA Pijac scaffolded</h1>
<p>Stack: Vite + React + TypeScript + TanStack Router + TanStack Query + Tailwind + shadcn/ui</p>
</div>
)
}

4
frontend/src/index.css Normal file
View File

@@ -0,0 +1,4 @@
body {
margin: 0;
font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

10
frontend/src/main.tsx Normal file
View File

@@ -0,0 +1,10 @@
import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import App from './App'
import './index.css'
createRoot(document.getElementById('root')!).render(
<StrictMode>
<App />
</StrictMode>,
)