refactor(adminui): remove tenant admin flows and fix build

This commit is contained in:
msumshk
2026-01-29 05:20:21 +00:00
parent 914dcc4166
commit 3c97e355fd
46 changed files with 165 additions and 7742 deletions

View File

@@ -15,9 +15,15 @@ const __filename = fileURLToPath(import.meta.url)
const __dirname = dirname(__filename)
// 读取 .auto-import.json 文件的内容,并将其解析为 JSON 对象
const autoImportConfig = JSON.parse(
fs.readFileSync(path.resolve(__dirname, '.auto-import.json'), 'utf-8')
)
// 说明:该文件由 unplugin-auto-import 在 Vite 启动时生成,首次安装依赖后可能尚未生成
let autoImportConfig = { globals: {} }
try {
autoImportConfig = JSON.parse(
fs.readFileSync(path.resolve(__dirname, '.auto-import.json'), 'utf-8')
)
} catch {
autoImportConfig = { globals: {} }
}
export default [
// 指定文件匹配规则