mirror of
https://gitee.com/wot-design-uni/wot-design-uni.git
synced 2025-12-07 17:48:34 +08:00
* feat: ✨ 支持国际化 * feat: ✨ 支持国际化 * fix: 🐛 支持国际化 * docs: ✏️ 文档中增加国际化的介绍 * feat: ✨ 支持越南语 * docs: ✏️ 文档中增加支持国际化的版本 * refactor: ♻️ 调整防抖函数的实现 * docs: ✏️ 文档中增加vite.config.ts国际化相关的配置 * docs: ✏️ 增加支持越南文 --------- Co-authored-by: xuqingkai <xuqingkai@hd123.com>
23 lines
442 B
TypeScript
23 lines
442 B
TypeScript
/*
|
|
* @Author: weisheng
|
|
* @Date: 2023-03-09 19:23:03
|
|
* @LastEditTime: 2024-01-26 14:08:43
|
|
* @LastEditors: weisheng
|
|
* @Description:
|
|
* @FilePath: \wot-design-uni\src\main.ts
|
|
* 记得注释
|
|
*/
|
|
import { createSSRApp } from 'vue'
|
|
import App from './App.vue'
|
|
// #ifdef H5
|
|
import '@vant/touch-emulator'
|
|
// #endif
|
|
|
|
export function createApp() {
|
|
const app = createSSRApp(App)
|
|
// app.config.warnHandler = () => null
|
|
return {
|
|
app
|
|
}
|
|
}
|