Files
medical-mall/main.uts

15 lines
329 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// 简化的main.uts移除i18n依赖
import { createSSRApp } from 'vue'
import App from './App.uvue'
export function createApp() {
const app = createSSRApp(App)
// 简化的$t方法
app.config.globalProperties.$t = (key: string): string => {
return key // 直接返回key不进行翻译
}
return { app }
}