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 2222 "eslint-plugin-react-hooks" : " ^5.0.0" ,
2323 "eslint-plugin-react-refresh" : " ^0.4.18" ,
2424 "globals" : " ^15.14.0" ,
25+ "prettier" : " 3.4.2" ,
2526 "typescript" : " ~5.7.2" ,
2627 "typescript-eslint" : " ^8.22.0" ,
2728 "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' ;
55
66function App ( ) {
7- const [ count , setCount ] = useState ( 0 )
7+ const [ count , setCount ] = useState ( 0 ) ;
88
99 return (
1010 < >
1111 < 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' />
1414 </ 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' />
1717 </ a >
1818 </ div >
1919 < h1 > Vite + React</ h1 >
20- < div className = " card" >
20+ < div className = ' card' >
2121 < button onClick = { ( ) => setCount ( ( count ) => count + 1 ) } >
2222 count is { count }
2323 </ button >
2424 < p >
2525 Edit < code > src/App.tsx</ code > and save to test HMR
2626 </ p >
2727 </ div >
28- < p className = " read-the-docs" >
28+ < p className = ' read-the-docs' >
2929 Click on the Vite and React logos to learn more
3030 </ p >
3131 </ >
32- )
32+ ) ;
3333}
3434
35- export default App
35+ export default App ;
You can’t perform that action at this time.
0 commit comments