We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29af60d commit a6f6644Copy full SHA for a6f6644
src/App.jsx
@@ -0,0 +1,9 @@
1
+import React from 'react'
2
+import ReactDOM from 'react-dom/client'
3
+import App from './App'
4
+
5
+ReactDOM.createRoot(document.getElementById('root')).render(
6
+ <React.StrictMode>
7
+ <App />
8
+ </React.StrictMode>
9
+)
src/main.jsx
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <title>My Nix Web App</title>
+ </head>
+ <body>
+ <div id="root"></div>
10
+ <script type="module" src="/src/main.jsx"></script>
11
+ </body>
12
+</html>
0 commit comments