Skip to content

Commit 3d484ef

Browse files
committed
remove default vite js code
1 parent 25111d6 commit 3d484ef

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

src/main.ts

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +0,0 @@
1-
import './style.css'
2-
import typescriptLogo from './typescript.svg'
3-
import viteLogo from '/vite.svg'
4-
import { setupCounter } from './counter.ts'
5-
6-
document.querySelector<HTMLDivElement>('#app')!.innerHTML = `
7-
<div>
8-
<a href="https://vitejs.dev" target="_blank">
9-
<img src="${viteLogo}" class="logo" alt="Vite logo" />
10-
</a>
11-
<a href="https://www.typescriptlang.org/" target="_blank">
12-
<img src="${typescriptLogo}" class="logo vanilla" alt="TypeScript logo" />
13-
</a>
14-
<h1>Vite + TypeScript</h1>
15-
<div class="card">
16-
<button id="counter" type="button"></button>
17-
</div>
18-
<p class="read-the-docs">
19-
Click on the Vite and TypeScript logos to learn more
20-
</p>
21-
</div>
22-
`
23-
24-
setupCounter(document.querySelector<HTMLButtonElement>('#counter')!)

0 commit comments

Comments
 (0)