flat: 注入全局弹窗

This commit is contained in:
Apcallover
2025-12-17 18:27:59 +08:00
19 changed files with 3132 additions and 509 deletions

13
vite.config.js Normal file
View File

@@ -0,0 +1,13 @@
import {
defineConfig
} from 'vite';
import uni from '@dcloudio/vite-plugin-uni';
import viteInjectPopup from './vite-inject-popup.js'; // 你的自定义插件
export default defineConfig({
plugins: [
// 只保留这一个自定义插件,它只负责改 template 字符串
viteInjectPopup(),
uni(),
]
});