File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 < meta charset ="UTF-8 " />
55 < link rel ="icon " type ="image/svg+xml " href ="/vite.svg " />
66 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
7- < title > Vite + React + TS </ title >
7+ < title > Re:Fuel </ title >
88 </ head >
99 < body >
1010 < div id ="root "> </ div >
Original file line number Diff line number Diff line change 1- import { useState } from 'react'
2- import reactLogo from './assets/react.svg'
3- import viteLogo from '/vite.svg'
4- import './App.css'
1+ import './App.css' ;
52
63function App ( ) {
7- const [ count , setCount ] = useState ( 0 )
8-
94 return (
105 < >
116 < div >
12- < a href = "https://vite.dev" target = "_blank" >
13- < img src = { viteLogo } className = "logo" alt = "Vite logo" />
14- </ a >
15- < a href = "https://react.dev" target = "_blank" >
16- < img src = { reactLogo } className = "logo react" alt = "React logo" />
17- </ a >
18- </ div >
19- < h1 > Vite + React</ h1 >
20- < div className = "card" >
21- < button onClick = { ( ) => setCount ( ( count ) => count + 1 ) } >
22- count is { count }
23- </ button >
24- < p >
25- Edit < code > src/App.tsx</ code > and save to test HMR
26- </ p >
7+ < h1 > Re:Fuel</ h1 >
278 </ div >
28- < p className = "read-the-docs" >
29- Click on the Vite and React logos to learn more
30- </ p >
319 </ >
32- )
10+ ) ;
3311}
3412
35- export default App
13+ export default App ;
Original file line number Diff line number Diff line change 1- import { StrictMode } from 'react'
2- import { createRoot } from 'react-dom/client'
3- import './index.css'
4- import App from './App.tsx'
1+ import { StrictMode } from 'react' ;
2+ import { createRoot } from 'react-dom/client' ;
3+ import './index.css' ;
4+ import App from './App.tsx' ;
55
66createRoot ( document . getElementById ( 'root' ) ! ) . render (
77 < StrictMode >
88 < App />
9- </ StrictMode > ,
10- )
9+ </ StrictMode >
10+ ) ;
You can’t perform that action at this time.
0 commit comments