File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change 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' ) ! )
You can’t perform that action at this time.
0 commit comments