Files
apple-ahh-portfolio/index.tsx
m5rcel { Marcel } d97bc589f0 feat: Update dependencies and CDN imports
Updates `framer-motion` and `lucide-react` to specific versions. Also refactors CDN imports in `index.html` to use `esm.sh` for React v18, aligning with the updated dependencies and ensuring correct module resolution.
2025-12-09 09:20:41 +01:00

16 lines
378 B
TypeScript

import React from 'react';
import { createRoot } from 'react-dom/client';
import App from './App';
const rootElement = document.getElementById('root');
if (!rootElement) {
throw new Error("Could not find root element to mount to");
}
console.log('Mounting App...');
const root = createRoot(rootElement);
root.render(
<React.StrictMode>
<App />
</React.StrictMode>
);