- HTTP client (axios interceptors, token mgmt, typed APIs) - Pinia stores: token, user (login/logout), app (dark mode, sidebar) - globalConfig TS types + Window augmentation - Vue Router (hash history, auth guard) - Login/Home/Mine pages (Vant UI) - Vant integration + globalConfig dev script - Build passes (vue-tsc + vite)
16 lines
516 B
HTML
16 lines
516 B
HTML
<!doctype html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
|
<title>舆图智慧水务</title>
|
|
</head>
|
|
<body>
|
|
<div id="app"></div>
|
|
<!-- 运行时全局配置 — 开发环境 -->
|
|
<script src="/config/globalConfig.dev.js"></script>
|
|
<script type="module" src="/src/main.ts"></script>
|
|
</body>
|
|
</html>
|