Skip to content

Commit

Permalink
cleanup vite starter
Browse files Browse the repository at this point in the history
  • Loading branch information
microbouji committed Nov 22, 2021
1 parent d45af46 commit 3259c3c
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 108 deletions.
3 changes: 1 addition & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/src/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite App</title>
<title>SHPX: Modern Interior for your Dream House</title>
</head>
<body>
<div id="root"></div>
Expand Down
42 changes: 0 additions & 42 deletions src/App.css

This file was deleted.

44 changes: 2 additions & 42 deletions src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,45 +1,5 @@
import { useState } from 'react'
import logo from './logo.svg'
import './App.css'

function App() {
const [count, setCount] = useState(0)

return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<p>Hello Vite + React!</p>
<p>
<button type="button" onClick={() => setCount((count) => count + 1)}>
count is: {count}
</button>
</p>
<p>
Edit <code>App.jsx</code> and save to test HMR updates.
</p>
<p>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
>
Learn React
</a>
{' | '}
<a
className="App-link"
href="https://vitejs.dev/guide/features.html"
target="_blank"
rel="noopener noreferrer"
>
Vite Docs
</a>
</p>
</header>
</div>
)
return <div>TODO</div>;
}

export default App
export default App;
15 changes: 0 additions & 15 deletions src/favicon.svg

This file was deleted.

7 changes: 0 additions & 7 deletions src/logo.svg

This file was deleted.

0 comments on commit 3259c3c

Please sign in to comment.