- Replace CRA with Vite as the build tool - Rename index.tsx to main.tsx (Vite convention) - Add vite.config.ts, tsconfig.app.json, tsconfig.node.json - Move index.html from public/ to project root - Replace yarn.lock with package-lock.json - Remove CRA-specific files (reportWebVitals, setupTests, react-app-env.d.ts) - Update package.json, tsconfig.json, .gitignore, and README.md - Adjust all source files for Vite compatibility
21 lines
654 B
HTML
21 lines
654 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" href="/favicon.ico" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta name="theme-color" content="#000000" />
|
|
<meta
|
|
name="description"
|
|
content="NIMG-PF is the Neuroinformatics site of Neuroimaging under NIJC."
|
|
/>
|
|
<link rel="manifest" href="/manifest.json" />
|
|
<title>NIMG - NeuroImaging Platform</title>
|
|
</head>
|
|
<body>
|
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|