改为typescript支持

This commit is contained in:
2024-12-11 15:32:20 +08:00
parent 72e3d1b756
commit 812a642aaa
13 changed files with 477 additions and 245 deletions

6
src/main.ts Normal file
View File

@@ -0,0 +1,6 @@
import { createApp } from 'vue'
import type { App as AppType } from 'vue'
import App from './App.vue'
const app: AppType = createApp(App)
app.mount('#app')