File tree Expand file tree Collapse file tree 4 files changed +21
-13
lines changed Expand file tree Collapse file tree 4 files changed +21
-13
lines changed Original file line number Diff line number Diff line change
1
+ # Ignore artifacts:
2
+ build
3
+ coverage
Original file line number Diff line number Diff line change
1
+ {
2
+ "singleQuote": true,
3
+ "jsxSingleQuote": true
4
+ }
Original file line number Diff line number Diff line change 22
22
"eslint-plugin-react-hooks" : " ^5.0.0" ,
23
23
"eslint-plugin-react-refresh" : " ^0.4.18" ,
24
24
"globals" : " ^15.14.0" ,
25
+ "prettier" : " 3.4.2" ,
25
26
"typescript" : " ~5.7.2" ,
26
27
"typescript-eslint" : " ^8.22.0" ,
27
28
"vite" : " ^6.1.0"
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 { useState } from 'react' ;
2
+ import reactLogo from './assets/react.svg' ;
3
+ import viteLogo from '/vite.svg' ;
4
+ import './App.css' ;
5
5
6
6
function App ( ) {
7
- const [ count , setCount ] = useState ( 0 )
7
+ const [ count , setCount ] = useState ( 0 ) ;
8
8
9
9
return (
10
10
< >
11
11
< div >
12
- < a href = " https://vite.dev" target = " _blank" >
13
- < img src = { viteLogo } className = " logo" alt = " Vite logo" />
12
+ < a href = ' https://vite.dev' target = ' _blank' >
13
+ < img src = { viteLogo } className = ' logo' alt = ' Vite logo' />
14
14
</ a >
15
- < a href = " https://react.dev" target = " _blank" >
16
- < img src = { reactLogo } className = " logo react" alt = " React logo" />
15
+ < a href = ' https://react.dev' target = ' _blank' >
16
+ < img src = { reactLogo } className = ' logo react' alt = ' React logo' />
17
17
</ a >
18
18
</ div >
19
19
< h1 > Vite + React</ h1 >
20
- < div className = " card" >
20
+ < div className = ' card' >
21
21
< button onClick = { ( ) => setCount ( ( count ) => count + 1 ) } >
22
22
count is { count }
23
23
</ button >
24
24
< p >
25
25
Edit < code > src/App.tsx</ code > and save to test HMR
26
26
</ p >
27
27
</ div >
28
- < p className = " read-the-docs" >
28
+ < p className = ' read-the-docs' >
29
29
Click on the Vite and React logos to learn more
30
30
</ p >
31
31
</ >
32
- )
32
+ ) ;
33
33
}
34
34
35
- export default App
35
+ export default App ;
You can’t perform that action at this time.
0 commit comments