This commit is contained in:
open-trade
2022-01-17 15:45:42 +08:00
commit 5d4b557e22
10 changed files with 284 additions and 0 deletions

8
src/main.ts Normal file
View File

@@ -0,0 +1,8 @@
import './style.css'
const app = document.querySelector<HTMLDivElement>('#app')!
app.innerHTML = `
<h1>Hello Vite!</h1>
<a href="https://vitejs.dev/guide/features.html" target="_blank">Documentation</a>
`

8
src/style.css Normal file
View File

@@ -0,0 +1,8 @@
#app {
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
margin-top: 60px;
}

1
src/vite-env.d.ts vendored Normal file
View File

@@ -0,0 +1 @@
/// <reference types="vite/client" />