改为typescript支持
This commit is contained in:
6
src/main.ts
Normal file
6
src/main.ts
Normal 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')
|
||||
Reference in New Issue
Block a user